Web applications can be developed using either a Client Services web project or a Dynamic Web Project. The choice of which to use depends on the application content and its primary usage. In general, web applications that primarily target the Lotus® Expeditor platform or depend on other OSGi services besides core servlet and JSP support should be developed using a Client Services web project.
A Client Services web project is an extension of the dynamic web project. Because of this, both types of projects make use of the dynamic web project tools. In addition to this, a Client Services web project provides the following support for developing a web application that is targeting the Lotus Expeditor platform.
- The OSGi manifest file required by Lotus Expeditor applications can be automatically managed by the tools.
- The project's class path is maintained to match the class path environment that will exist in the Lotus Expeditor runtime. This is useful for detecting class visibility problems at development time rather than runtime.
A Dynamic web project will not have the Lotus Expeditor specific tooling aids listed above, but can still be tested and run on the Lotus Expeditor platform. This is accomplished by targeting the project's runtime to the Client Service runtime through the project's Targeted Runtimes properties. The tooling will automatically add the proper OSGi manifest entries for Servlet and JSP support. However, if the application references other OSGi services or bundles, the developer will have to manually add these dependencies to the manifest file.
Client Services web project can also be tested and run on a platform other than Lotus Expeditor by reassigning its targeted runtime through the project Targeted Runtimes properties. Refer to Debugging and testing applications
for further information.
Parent topic: Creating Web Application projects: XPD622