If you can't move from weblogic then the only immediately obvious routes are;
1) embedding a framework - you almost certainly won't be needing the extras provided by Karaf, keep it simple code against standard framework launching API introduced in 4.2 (note; you'll lose a lot of OSGi goodness, e.g. your entities will need to be deployed on the weblogic side as would your OSGi services' interfaces - so you could dynamically deploy fixes but not add functionality public outside of the OSGi framework) 2) remoting - there are a number of distributed OSGi options available, Apache CXF and ECF (Eclipse Communication Framework) - you could connect to these via a number of transports; web services etc 3) use some OSGi demo apps to prove the investment is worth the policy shift (whoever sets this policy *should* be technically minded enough to see the worth clearly) With option 2, you may as well use standard JEE stuff - then you're just dealing with the remoting and load-balancing will provide the pluggable illusion (minimal rewrite, familiar territory, well documented old school), though the thought of sticky sessions with Wicket sends shudders down my spine. If you go down the embedded route, then "OSGi in Action" http://www.manning.com/hall/ has a good chapter explaining embedding (AFAIKR full source) and will provide a good grounding in OSGi too. On an aside; the thing that appears to draw people to OSGi is the true hot-deploy, pluggable nature - but it's real virtue, as most discover are the consistent, minimal and emergent qualities of the framework's architecture (look at how the remote services spec so elegantly dovetails with existing framework). I think you're in the difficult of position of seeing the cake but not being allowed to eat it =) On 15 June 2011 22:28, fachhoch <[email protected]> wrote: > Thanks for ur reply, I cannot move from weblogic , its beyound my control, > What I want is benefits of osgi in my application like update a module > without restarting container or add new features all this..I cannot move > from weblogic for now and canot rewrite my code, iam looking for some > plugable framework which will provide me the osgi benefits. > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/new-bee-embedding-karaf-tp3069036p3069694.html > Sent from the Karaf - User mailing list archive at Nabble.com. >
