On Thu, May 14, 2009 at 15:46, Thomas Joseph <[email protected]> wrote: > Hi all, > > I am using OSGi containers such as Felix and Equinox using Pax Runner and > building applications over it. Recently Service Mix has excited me a lot. > But there are few questions that come to my mind as I think of adopting > Service Mix.
Note that ServiceMix Kernel has been moved to Felix and is now Karaf. > 1. Why should I use Service Mix Kernel, if I can just use the "enhancements" > on top of my favorites OSGi kernel such as Felix or Equinox natively. Anyway > the enhancements are "felix" + "enhacenment bundles" + configurations. Am I > right? Note that Karaf can now be started with Equinox. To answer your question, if you use your native osgi container + all the bundles that come from Karaf, you end up with ... Karaf mostly. > 2. I want to build OSGi based applications. How can Service Mix help me in > doing integrations with CXF or Drools, over my native approach to integrate > them with the OSGi container. What additional benefits? Nothing really. It will just save you some time because we've worked hard on finding all the dependencies, make the OSGi bundles and test everything. If you just want to use OSGi + CXF, you can try and redo the same work if you want. > 3. How is it better to/compatible to/compared to SpringSource DM server? The license is first a big difference in itself (Apache Licensed vs GPL). Spring dm server afaik also defines some non standard extensions to OSGi so if you go that route, you'll be kinda locked to it. > 4. Pax Runner recently provides the service mix profiles. How good or bad is > that approach when compared to using service mix as such? The main problem I have with Pax Runner is that it *downloads* everything. You have no easy control over what happen when you boot the framework and a lot of people can't allow that. I think the value of Karaf lies in both its bundles that provides some additional features on top of a bare OSGi framework, but also from the fact that it's a pre-built server that you can just download and install. If you prefer using pax-runner for that, feel free to do so. Karaf just aims to save you some time in building your server. > > -- > Thanks and Regards, > /Thomas Joseph > > LinkedIn: http://www.linkedin.com/in/ethomasjoseph > Twitter: http://twitter.com/ethomasjoseph > Blog: http://openthoughtworks.blogspot.com > > ------------------------------------------------------------ > Promote Open Source - Promote Liberty of Ideas and Software. > ------------------------------------------------------------ > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
