4 Replies Latest reply on Apr 22, 2010 7:06 AM by csetera

    How do I access OSGi bundle classes from JBoss AS?

    csetera

      Hello,

       

      We are looking at JBoss-OSGi within JBoss AS 5.x as a way to slowly migrate our application stack over to OSGi.  I can't afford the "big bang" of moving everything over at one time, so I would like to move parts of the stack to OSGi but leave things like the WAR resources deployed on JBoss AS while sharing classes from the OSGi bundles.  Is this possible?  I saw a reference in the Beta 7 documentation about using injection to access the framework, but I'm not sure that I understand what the means or how to actually do that.  It seems like if I can get access to the framework, I might be able to reference classes from the framework?  Can anyone offer any pointers?

       

      I'd appreciate any insights into how we can best migrate in this way using JBoss AS and JBoss OSGi.  If this really isn't viable, I'd appreciate hearing that as well.

       

      Thanks much!

      Craig