+

Search Tips   |   Advanced Search

Develop servlets with WebSphere Application Server extensions

Use this task to provide a summary of the WAS extensions that we can use to develop servlets.

Several WebSphere Application Server extensions are provided for enhancing the servlets. This task provides a summary of the extensions that we can utilize.

  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 Application Programming Interface (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 install_root\web\apidocs 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 the 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 the code artifacts into a web module using assembly tools as a prerequisite to deploying the code to the application server.


Subtopics


Related concepts

  • Asynchronous request dispatcher
  • Remote request dispatcher
  • Development and assembly tools


    Related tasks

  • Task overview: Use the dynamic cache service to improve performance
  • Task overview: Managing HTTP sessions