File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes OSGi with Spring Web MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "OSGi with Spring Web MVC " Watch "OSGi with Spring Web MVC " New topic
Author

OSGi with Spring Web MVC

Jason Low
Greenhorn

Joined: Feb 11, 2012
Posts: 7
Hi guys,

I am new to OSGi and I am having some troubles getting the Spring Web MVC framework working with OSGi.

A few questions:
- Firstly I assume I should be using Eclipse Gemini Blueprint and NOT Eclipse Equinox?

- Since Spring MVC uses a front controller/servlet, Dispatcher, I cannot seem to find an appropriate class for this. Spring DM used a different different class for the Dispatcher, since the original class did not support the OSGi framework. Any suggestions on what this class should should be?

- Do I need an Activator class? Some websites suggests I do not in this architecture, but they all seem out of date supporting Spring DM.

- Lastly, is there any up to date tutorials for using Spring Web MVC with OSGi? I can only seem to find tutorials based on Spring DM which is no longer supported.

Thanks in advance!





Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

stumbled on this not much experience here but may help you

http://gordondickens.com/wordpress/2012/06/13/gemini-blueprint-converting-from-spring-osgi/


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OSGi with Spring Web MVC
 
Similar Threads
OSGi + Glassfish + JEE 6 howto?
OSGi as a Java standard
OSGi and Spring DM: Enterprise Beans, JEE Containers and WEB UI
OSGI / Equinox ?
Spring DM versus JSR-291