users@glassfish.java.net

Re: EJBs in OSGi Bundles

From: <glassfish_at_javadesktop.org>
Date: Tue, 08 Jun 2010 06:16:59 PDT

The nightly build of yesterday yes.

My use case is exactly what was shown in the blog: Back session EJB by OSGi bundles. The latter contain changeable business logic we can substitute easily without a full redeploy cycle of the complete application.

In the meantime I've made it work by adding a bundle listener in the activator. That seem to work as the EJB is being deployed before the bundle gets the STARTED state.

Now, if the EJB's are also deployed as OSGi services of course... :-) You do have an example somewhere as of the classes I should use to get to those services ?

Thanks !
[Message sent by forum member 'jan_goyvaerts']

http://forums.java.net/jive/thread.jspa?messageID=473325