karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Accessing to OSGI bean from a War
Date Fri, 25 May 2012 08:53:27 GMT
Hi,

I'd suggest using BluePrint or SpringDM too, that's something I have
done in the past and it worked quite well :)
Never the less I'm planning to add some specialties in the future to
pax-web to simplify this even more, see [1]

regards, Achim

[1] - http://team.ops4j.org/browse/PAXWEB-367

2012/5/24 Romain Gilles <romain.gilles@gmail.com>:
> If you want I can try to retrieve the configuration I was using at this
> time. What I know is that it was strongly based / inspired on the sample
> application of Virgo Greenpages sample
> http://www.eclipse.org/virgo/samples/ have
> a look to the documentation.
>
> Romain
>
> Le jeudi 24 mai 2012, Romain Gilles a écrit :
>
>> I'm remember that I was using spring dm feature to do it in a blueprint
>> way.
>> There is a specific filter to add to you web.xml and then you will get a
>> OsgiApplicationContext.
>> This application context is osgi ready and can work with spring and
>> blueprint file and therefore service published in your registry by other
>> bundles.
>>
>> Romain.
>>
>> Le jeudi 24 mai 2012, Guillaume Nodet a écrit :
>>
>>> Yes, it should work too, though the problem will be to communicate
>>> from the blueprint beans to the servlets (or the other way around),
>>> and there's no nice mechanism for that atm.
>>>
>>> On Thu, May 24, 2012 at 5:36 PM, djos06 <djos06@gmail.com> wrote:
>>> > there is not a way to do it using blueprint ?
>>> >
>>> > --
>>> > View this message in context:
>>> http://karaf.922171.n3.nabble.com/Re-Accessing-to-OSGI-bean-from-a-War-tp4013579p4013750.html
>>> > Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> --
>>> ------------------------
>>> Guillaume Nodet
>>> ------------------------
>>> Blog: http://gnodet.blogspot.com/
>>> ------------------------
>>> FuseSource, Integration everywhere
>>> http://fusesource.com
>>>
>>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>

Mime
View raw message