There are different ways to deploy bundles in a OSGI container. Depending of the religion to which you belong, some people will argue that they prefer to use Osgi Bundle Repository, other profile of PAX Runner, other simply bundles deployed manually, ... and finally features.
Features is the mechanism provided by default under Apache Felix Karaf and of course ServiceMix. As features provides a way for provisioning your bundles, this is from my point of view the most natural way to work. You are not oblige to embed it in a jar and you can use the following syntax to allow the osgi server to access it --> mvn:groupId/ArtifactId/Version What I like too in Features, is that this a contract where you centralize all the jar/ version about the component to be deployed for a project ! Maintenance is one of the key success factor of a project. Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer ***************************** blog : http://cmoulliard.blogspot.com On Wed, Sep 16, 2009 at 3:23 PM, Scott Parkerson <[email protected]>wrote: > > On Sep 15, 2009, at 11:28 AM, Charles Moulliard wrote: > > Hi Scott, >> >> I have used in my tutorial MySql but the principe is the same. You can >> have >> a look to my tutorial here : >> >> http://camel.apache.org/tutorial-osgi-camel-part2.html >> >> > Ok, one more question: > > Are there no "official" FUSE/ServiceMix bundled features for SMX4 for > Hibernate, JBDC drivers, etc? I see that there's a portion of the tutorial > where I can generate my features.xml and put them in one of my bundles. Is > that the best way (for now)? > > --sgp > cf. http://www.smerpology.org/ > > > >
