thanks for all the help - I was hoping to do a bit more, for example use sling for the view of the application and spring to do the rest. Seems a bit more complex than I hoped, maybe a conversion of the app into sling is the better approach here. I'll keep you guys posted on what I end up with :-)

Ruben


On 9/3/2010 7:26 AM, Justin Edelson wrote:
If you wanted to use Spring DM's web extender, you could simply remove
the Felix HttpService implementation and replace it with one of the
implementations from SpringDM.

I have not done this myself, but I believe it would work.

Justin

On 9/2/10 11:59 PM, Victor Taranenko wrote:
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.


Reply via email to