Good idea Craig, Few weeks back I also had a chance to look into the servlet bridge, and found it very interesting. I was planning to make use of it for pax-runner. I can probably give a shot probably afer 2-3 weeks, unless someone else takes it up already :).
Anyway, I think that should go in as an issue that we can track. Should I create an issue for it? On Tue, Jun 16, 2009 at 7:35 AM, Craig Walls <cr...@habuma.com> wrote: > > A couple of weeks ago I suggested building a servlet bridge that uses Pax > Runner under the covers for bundle provisioning. At the time, I pointed at > DynamicJava.org's servlet-bridge that uses DA-Launcher for provisioning as > an example. > > I had a few moments today to have a look at how DynamicJava.org's > servlet-bridge works and found that (as far as I can tell) it does not have > any dependency on DA-Launcher at all. It is just given a bundle context via > the Servlet Context. How the bundle context gets into the servlet context is > of no importance to the servlet-bridge. > > In fact, DA-Launcher has a servlet context listener that (1) launches the > OSGi framework using the DA-Launcher mechanism and (2) puts a bundle context > into the servlet context for the servlet bridge to use. > > What this means is that DynamicJava.org's servlet bridge could probably be > used unchanged with Pax Runner. All we need is a Pax Runner-based servlet > context listener that does everything Pax Runner does well already and then > pushes a bundle context into the servlet context so that the servlet bridge > can find it. > > I haven't had much time to actually implement this, but it doesn't sound > terribly difficult. I just wanted to pass along what I've learned in case > someone has more time than me or some insights I can use when I get around > to implementing it. > > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > -- -- Thanks and Regards, /Thomas Joseph LinkedIn: http://www.linkedin.com/in/ethomasjoseph Twitter: http://twitter.com/ethomasjoseph Blog: http://openthoughtworks.blogspot.com ------------------------------------------------------------ Promote Open Source - Promote Liberty of Ideas and Software. ------------------------------------------------------------
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general