Hello,

I am currently looking into web2py to more efficiently build a complex
web interface for an even more complex server application. Just FYI, I
don't have much experience with Python and nil with web2py so far.
Currently my concern is the business logic, where it is located and
where the data comes from. web2py has a pretty cool DAL that I could
definitely use for some simple data modifications.

There will be an independently, actively running backend (workflows,
business processes, etc.), which will be hosted in JBoss (JEE). Users
of the web interface will need to access and edit object trees that
only exist in those backend components, not in the database. For that
I obviously cannot use the DAL.

So my question is how, in a technical/architectural sense could a
controller in web2py access those JEE components? I assume that I
always can expose SOAP webservices from JBoss but but I'm wondering
whether there is some more elegant integration?

If I stayed with Java technologies, while not as elegant, I could run
everything in the JEE container, use JPA for database access
respectively directly work with those background service beans and the
in-process object trees. So I'll have to make and justify the trade-
off between elegance in the UI and increased effort in the backend
(web2py) vs not so elegant UI but easier backend integration (Java-
only).

Any suggestions?

Thanks a lot, Christoph

Reply via email to