On Mon, Oct 5, 2009 at 11:24 PM, Edelson, Justin < [email protected]> wrote: > > This looks great. I look forward to junking my custom bridge code. > > One question - in > http://felix.apache.org/site/apache-felix-http-service.html#ApacheFelixH > ttpService-UsingtheServletBridge, it is stated that one must "In a > startup listener (like ServletContextListener) set the BundleContext as > a servlet context attribute." but this isn't done in the example, at > least as far as I can see looking at the code in > http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge/src/main > /java/org/apache/felix/http/samples/bridge/. >
The example should be clearer. It's actually set inside the ProvisionActivator. First statement inside start(..) method. servletContext.setAttribute(BundleContext.class.getName(), context); > > Also, does the bridge code actually require Servlet 2.5? I can't be the > only one still running Tomcat 5.5 :) It's been tested with 2.5 servlet spec. But I think it will work with any servlet spec. Must have 2.3 for filter support, that's all. > > Thanks, > Justin > > > -----Original Message----- > From: Sten Roger Sandvik [mailto:[email protected]] > Sent: Monday, October 05, 2009 4:59 PM > To: [email protected] > Subject: [ANN] Apache Felix Http Service version 2.0.2 Released > > The Felix team is pleased to announce the release of Apache Felix Http > Service version 2.0.2. > > This is an implementation of the Http Service Specification as described > in chapter 102 of the OSGi Compendium. It also implement a non-standard > extension for registering servlet filters as well as a whiteboard > implementation. > > http://felix.apache.org/site/apache-felix-http-service.html > > This release is available from > http://felix.apache.org/site/downloads.cgiand Maven (see complete > artifact list in documentation): > > <dependency> > <groupId>org.apache.felix</groupId> > <artifactId>org.apache.felix.http.bundle</artifactId> > <version>2.0.2</version> > </dependency> > > Release Notes: > > ** Improvement > * [FELIX-771] - Jetty 6 is "verbose" on the log > * [FELIX-1456] - Contribution: Extended and improved HttpService > * [FELIX-1604] - Improve logging for http bundles > * [FELIX-1615] - FilterMapping/ServletMapping object to API > * [FELIX-1616] - Convert to Java 1.4 compliant code > * [FELIX-1640] - Change default port number to 8080 > > ** New Feature > * [FELIX-64] - Create a whiteboard adaptor for the HTTP Service > > ** Task > * [FELIX-1667] - Revise NOTICE and LICENSE files > * [FELIX-1668] - Fix OSGi dependencies > > Enjoy! > > - The Felix team > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >

