Hi,

Well, right now there is no easy way of sharing the http-Context
between bundles cause the OSGi spec states that a http-context is
always bound to a certain bundle.
So instead of using the default http-context one might create a custom
one and share it with other bundles as a service.
When registering your own servlets/filters/jsps and so on you need to
use this "shared" http-context-service.
This is probably the only way sharing it.

There is already an improvement request for making the http-context
sharable between bundles [1].

Regards, Achim

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


2012/6/19 Dattu Barla <[email protected]>:
> Hi,
> How to share http session between osgi bundles? I am using pax white board
> extender· is that I need to use session listener and handling programtacly ?
> Or converting into EAB  can help?
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 

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/>

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to