Hi, I think it rather depends on what is in the Spring Application, and which version of Spring.
If its a late version of Spring and already works with OSGi then there is no reason why it should not work with Sling, which uses Felix as its OSGi container. However, If it hasn't worked in OSGi and is an old version of Spring then I believe you have 2 routes. Port it to use SpringDM and then make it work in OSGi or embed the whole application inside a single bundle and don't let it know anything about the OSGi classloader policies. If you have almost any other ORM/JPA implementation other than EclipseLink in there you will have to port to SpringDM first since nearly all of them play classloader games that fall foul of OSGi (or at least that was the case 18 months ago, as is most of this info) HTH Ian On 3 Sep 2010, at 00:31, Ruben Reusser wrote: > hi there, > > got an odd question - I'd like to run a spring application within sling - > before I set out and try it, I thought I check here on the list to see if > somebody already tried this or not. Any pointers would be appreciated. > > Thanks > > Ruben
