|
|
Build webapp with SpringDM
I've been doing Spring MVC development for awhile now and I'm interested in making a webapp more modular using Spring-DM. I am a new comer to both OSGi and Spring-DM. I have read the Spring-DM reference manual a few times and am having a hard time getting my head around it. Here's a few questions I have. Mainly they have to do with the relationship between a servlet container, such as Tomcat or Jetty and the OSGi framework.
Does the OSGi framework (Equinox 3.2.2, Felix 1.0.3, and Knopflerfish 2.0.4) run inside the web container, Tomcat, Jetty?
Does the OSGi framework run in a separate VM?
The documentation says to install spring-osgi-web.jar bundle. How and where am I installing this bundle?
Is there a tutorial on using Spring-DM to build a webapp?
I'm puzzled as to why there have been no responses to my question. Are these inappropriate questions? Am I posting to the wrong list? Is anyone using Spring-DM?
mil...b-1.1.0-m1.jar
Hey - I just moved this question on the newly created Spring-DM forum.
Previously there wasn't a forum and that's why nobody replied quicker to your question.
See the Spring-DM 1.1 (currently M1) documentation: os...eference/html/
It should answer several questions about the deployment model and how spring-dm works.
Let me know if that helps you.
Cheers,
Originally Posted by mburbidgDoes the OSGi framework (Equinox 3.2.2, Felix 1.0.3, and Knopflerfish 2.0.4) run inside the web container, Tomcat, Jetty?
No.Originally Posted by mburbidgDoes the OSGi framework run in a separate VM?
No.Originally Posted by mburbidgThe documentation says to install spring-osgi-web.jar bundle. How and where am I installing this bundle?
Every osgi framework implementation has a specific way of installing and starting bundles and you can find that on their sites. You can also start up the framework without any bundles installed and use the OSGi console to install and start bundles. However, every osgi framework implementation has a specific way of achieving this task so I suggest that you use Pax Runner (confluence/x/A4A6) that will abstract from you specific framework configuration and it will make the task of installing/starting bundles trivial. Pax Runner has also specific support for Spring DM (confluence/x/gQNN).
Alin Dreghiciu |
|