| Just using Virgo as a dm extender (+ web extender) [message #734965] |
Mon, 10 October 2011 10: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 15: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
|
|
|
| Re: Just using Virgo as a dm extender (+ web extender) [message #735158 is a reply to message #735059] |
Tue, 11 October 2011 02:35  |
Glyn Normington Messages: 1186 Registered: July 2009 |
Senior Member |
|
|
|
Ok. Apart from considering using Virgo Jetty Server what some people have done is to use the Virgo kernel and configure their own choice of bundles into the user region to make a custom server. Then they get the kernel benefits: improved Spring DM diagnostics, better failure diagnostics in general, admin console and shell support, etc.
|
|
|
Powered by
FUDForum. Page generated in 0.01756 seconds