+

Search Tips   |   Advanced Search

Develop servlets with extensions

Use this task to provide a summary of the WebSphere Application Server extensions we can use to develop servlets.

Several WAS extensions are provided for enhancing your servlets. This task provides a summary of the extensions that we can utilize.


Tasks

  1. Review the supported specifications.

    Create Java components, referring to the Servlet specifications.

    The application server includes its own packages that extend and add to the Java Servlet API. These extensions and additions make it easier to manage session states, create personalized Web pages, generate better servlet error reports, and access databases. Locate the API documentation for the application server APIs in the (Dist) (ZOS) install_root\web\apidocs (iSeries) app_server_root/web/apidocs directory for the default installation. All of the public Application Server APIs are located in the com.ibm.websphere packages, however, com.ibm.websphere.servlet package is specific to the product servlet APIs.

  2. Use your favorite integrated development environment (IDE), or a text editor, to develop or migrate code artifacts that meet the specifications.
  3. Test the code artifacts.


What to do next

Assemble your code artifacts into a web module using assembly tools as a prerequisite to deploying the code to the application server.


Subtopics


Related:

  • Asynchronous request dispatcher
  • Remote request dispatcher
  • Development and assembly tools
  • Task overview: Using the dynamic cache service to improve performance
  • Task overview: Managing HTTP sessions