Just using Virgo as a dm extender (+ web extender) [message #734965] |
Mon, 10 October 2011 14:32 |
|
Hi,
I'm making an osgi/pax project, an want to replace the spring-dm web/io/core bundles with the Virgo ones.
How can I do this?
Wich dependencies must I take in order to replace 'org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext' by 'org.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext'?
I don't want to run this on the entire virgo server in order to keep PAX and continue to be server-agnostic.
Please find attached an example (spring deps are in the web-simple module and in the provision pom).
You just have to run mvn clean install + mvn pax:provision + go to localhost:8080/net.osgiliath.orthank-sample.java.web.simple_1.0.0-SNAPSHOT test the helloworld
Regards, Charlie
|
|
|
|
Re: Just using Virgo as a dm extender (+ web extender) [message #735059 is a reply to message #734965] |
Mon, 10 October 2011 19:49 |
|
Hi again,
thank you for your reactivity.
Being osgi platform agnostic must not have the counterpart to be web server tight.
I'm going to run my web & web-services app on Jetty...
I think I'll continue to use Spring-dm and make a specific jetty 8 extender fragment in order to load my apps, I'll be back on Virgo when it'll be possible...
Best regards, Charlie
|
|
|
|
Powered by
FUDForum. Page generated in 0.03763 seconds