Hi, Spring clearly announced that they don't support OSGi anymore.
Even if Spring is supported by Karaf (which is a good point to support non OSGi applications using Spring), I would not recommend to start a project using Spring. Starting with native OSGi stuff is better (like Blueprint which is actually close to Spring, SCR/DS, etc).
Regards JB On 12/04/2014 11:29 PM, asookazian2 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.
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
