Yeah, that's what I am working on in ServiceMix 4.
Atm, I've written a simple OSGi deployer which looks for a
   META-INF/ejb-jar.xml
descriptor and depoy the described EJBs (along with the
annotated EJB in the bundle).   I haven't had much time to
work on that in the previous weeks, so it's not really tested.

If you want to take a look at it, the deployer code is in
   http://svn.apache.org/repos/asf/servicemix/smx4/features/trunk/ejb3/deployer/

On Sat, Mar 8, 2008 at 12:21 PM, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  With all the recent hype about OSGi I spent some time reading the
>  spec...again and was wondering how its features could help openejb
>  become yet more modular. I could read some articles about web
>  development with Wicket and OSGi in which Wicket-based app's parts
>  were OSGi bundles and could be updated at runtime that led me to an
>  idea for openejb. I'd love hearing your opinion on it. Would it be
>  feasible, important, nice?
>
>  What if OpenEJB supports deploying EJBs as OSGi bundles? Developing
>  OSGi bundle is so simple with maven-bnd-plugin (in a very rudimentary
>  scenario: just a couple of new properties in MANIFEST.MF) that one
>  could develop EJBs with osgi and be able to turn on/off bean classes
>  at runtime. A OSGi bundle could provide business interfaces whereas
>  the other modules could provide its implementation. With the help of
>  OSGi one could easily install/uninstall/update EJBs. I don't think
>  it's possible in openejb now, isn't it?
>
>  Is it worth implementing? Comments greatly appreciated. I think it'd
>  be great to be working on it as an entry to osgi world.
>
>  Jacek
>
>  --
>  Jacek Laskowski
>  http://www.JacekLaskowski.pl
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to