Hi Ruben. About few weeks ago I've successfuly integrated spring application with Sling framework through Spring Dynamic Modules. If you want use only spring framework core libraries, i think that there are should no any problems. But if you want to user Spring-MVC inside Sling you need to do some little magic (as I understand). Spring DM web-extender requires a shared application server instance (Jetty or Tomcat) inside OSGi environment. But default Sling HttpService based on Jetty encapsulates it. So I decided to use separate Tomcat server instance nearby existing Jetty and register it in OSGi environment. It helps me, but I think that it's not very good. So if find better solution please put it into this thread.
-- *Regards,* *Victor Taranenko* 2010/9/3 Ruben Reusser <[email protected]> > 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 >
