Developing servlets with extensions

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

About this task

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

Procedure

  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 [z/OS][AIX Solaris HP-UX Linux Windows]install_root\web\apidocs [IBM i]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.