Great ! Maybe it would make sense to work together. I have some slightly specific requirements in that I want to plug the deployed EJB onto ServiceMix internal bus so that they can communicate with other kind of services (BPEL processes, Rules and all other available JBI components). But I think most of the code could be reused without JBI at all. What do you think ?
On Sun, Mar 9, 2008 at 4:26 PM, Daniel S. Haischt <[EMAIL PROTECTED]> wrote: > What a coincident ... > > http://www.globus.org/mail_archive/ogsa-alpha/2002/Archive/msg00386.html > > Actually it's about embedding an EJB container into a OSGi runtime env > and not about embedding OSGi into an EJB container runtime. > > > > Dain Sundstrom wrote: > > I think it would be cool to have an example that showed how to embed > > OpenEJB in an OSGi bundle. We may also want/need to supply some helper > > code like exporting all EJBs and Resouces as OSGi services. FWIU, > > Guillaume already has some of this working in ServiceMix. > > > > On the other hand, I don't think we should use OSGi within OpenEJB. One > > of the core values of OpenEJB is it's embedability, and if we make OSGi > > core to OpenEJB it would make it difficult to embed into a system using > > another modularity framework. I think it is better to maintain our > > course of making a simple, tight and modular server, so we can embed > > into any system. > > > > -dain > > > > On Mar 8, 2008, at 3:21 AM, Jacek Laskowski 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/
