Skip to main content



      Home
Home » Eclipse Projects » Equinox » How to configure Context, Context Parameters and Servlet Filters in OSGi based web application
How to configure Context, Context Parameters and Servlet Filters in OSGi based web application [message #88815] Tue, 29 May 2007 07:50 Go to next message
Eclipse UserFriend
Hi,

I am experimenting with Server Side OSGI. I have gone through the basic
samples of creating server side bundle of a static resource and servlets.

I am looking for the following to go forward:

1. How to create a separate context for my application.
2. How to configure the context parameters.
3. How to configure Servlet Filters similar to Servlets.

Thanks,

Raj
Re: How to configure Context, Context Parameters and Servlet Filters in OSGi based web application [message #88850 is a reply to message #88815] Tue, 29 May 2007 09:51 Go to previous message
Eclipse UserFriend
Hi Raj,

> 1. How to create a separate context for my application.
You can scope your resources and servlets ServletContext with the
HttpContext you provide when you register.

> 2. How to configure the context parameters.
> 3. How to configure Servlet Filters similar to Servlets.
The OSGi Http Service does not provide direct support for either
ServletContext parameters or Filters.
In the current release (3.3) there's a technique for providing support by
wrapping your Servlet and Resources to provide support. Take a look at the
classes in /equinox-incubator/org.eclipse.equinox.http.helper.

HTH
-Simon
Previous Topic:Bundle Activator packaged in embedded jar
Next Topic:Re: simple tutorial on OSGi/Equinox extension points?
Goto Forum:
  


Current Time: Wed Apr 16 18:42:55 EDT 2025

Powered by FUDForum. Page generated in 0.03236 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top