Eclipse provides support for building and running OSGi based Web applications both inside RCP and application server environments. In an OSGi Web application use of the OSGi HTTP Service replaces the use of the web.xml
deployment file. The HTTP Service provides a means to register servlets and resources in a manner more consistent with the dynamic environment in Eclipse where bundles can come and go.
The OSGi HTTP Service included with Lotus® Expeditor uses the Web Container as its underlying servlet/JSP container. This implementation allows customization and configuration of the server settings important for integration. This implementation also allows for applications deployed to the OSGi HTTP Service to be accessed through the Web Container ports.
Please refer to ../com.ibm.rcp.tools.doc.admin/configuringthewebcontainerintro.html for more information.
HTTP Service extension points
In many cases it's easier to use the more declarative style of interaction provided by the extension registry. To support this usage style, the org.eclipse.equinox.http.registry
plug-in provides extension points for httpcontexts, servlets, and resources that allow the equivalent registration of Web resources in the HTTP Service. Use the available tools and standard development methods for implementation of the servlets and JSPs.
Please refer to the Extension Points Reference
section of the Eclipse Platform Plug-in Developer Guide
for more information on these extension points and how to use them.
Parent topic: Developing Web Application logic: XPD621