I come from a Spring-centric background and found Blueprint to be similar enough from a dependency-injection standpoint that I was able to get up and running extremely quickly. Additionally, its support for services is quite nifty and does a great job of abstracting (or "softening") some of the service dynamism that can sometimes be problematic (especially for new developers). While there are several good options, as others have noted, you really can't go wrong with Blueprint.
-Steve On Thu, Dec 4, 2014 at 5:29 PM, asookazian2 <[email protected]> wrote: > We have some legacy J2EE apps that we've ported (finally) to Karaf 3.0.x > which use Spring. Mainly for dependency injection and possibly some > templates (e.g. JdbcTemplate, etc.) and AOP. > > Anyways, looks like there are no Spring (or Spring dm?) examples here: > https://github.com/cschneider/Karaf-Tutorial and there are no Spring > examples in the Apache Karaf Cookbook. > > Is Spring usage with OSGi/Karaf recommended or not? If yes, where can I > find some examples? > > "I stopped using spring on OSGi a long time ago." > > http://stackoverflow.com/questions/24595900/invalid-bundle-when-starting-apache-karaf > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Using-Spring-with-Karaf-3-x-tp4036977.html > Sent from the Karaf - User mailing list archive at Nabble.com.
