This is not really to implement right now.  The reason is that blueprint is
designed to work as an extender and can not be run outside of osgi.
I'm actually not sure how you would do that if you want to integrate
spring-dm inside a war in osgi ...   I think we have the same problem here.
The OSGi EEG is working on that and I'm sure we'll have a solution that will
work nicely with web apps deployed as bundles.

For the non-osgi bits, the problem is that the Geronimo implementation does
not support working in a non-osgi environment, so it would be difficult
right now to start it from inside the web app.

On Thu, Aug 27, 2009 at 10:06, Charles Moulliard <[email protected]>wrote:

> Hi,
>
> Spring OSGI - DM proposes in their package a OSGI class allowing a web
> application packaged as a WAR to load the Spring Application Context.
>
> Ex of a web.xml file
>
>     <context-param>
>         <param-name>contextClass</param-name>
>
> <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
>         <param-name>contextConfigLocation</param-name>
>         <param-value>/WEB-INF/applicationContext.xml</param-value>
>     </context-param>
>
>     <listener>
>
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>     </listener>
>
> Do we have something equivalent for blueprint service ?
>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to