Hi all,

I'm migrating a JEE application suite (using EJB Entity, Session, MDB, JSP, Servlet, etc) to OSGi running on Apache Karaf/Apache Aries/Apache ServiceMix.

Currently, I have the following architecture

WebContainer
   JSP Views -> Servlet Controller
The controller makes a JNDI EJB lookup and RMI-IIOP call to
EJB Container
   Facade EJB Session Stateful -> EJB Entities (CMP/BMP)

The Facade is a EJB Session Stateful which is responsible to start the transaction (Required or RequiresNew) and store some informations.

In the HTTP session, I only store navigation informations, whereas in the Facade EJB, I store some business information (such as the user connected, etc).

The HTTP Session contains a handler to the Facade.

I wonder how to refactor the Facade EJB Session Stateful to an OSGi bundle.

Any help is welcome.

Thanks
Regards
JB

Reply via email to