[Version 5.0.2 and later]Developing servlets with WebSphere Application Server extensions

Why and when to perform 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.

Steps for this task

  1. Review the supported specifications.

    Create Java components, referring to the Servlet specifications from Sun Microsystems.

    See Resources for learning for links to coding specifications and examples.

    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 Javadoc for the application server APIs in the product install_root\web\apidocs directory.

    All the public WebSphere Application Server APIs are located in the com.ibm.websphere... packages.

  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 the Assembly Toolkit as a prerequisite to deploying the code to the application server.


Related concepts
Servlets
Application lifecycle listeners and events
Servlet filtering
Related tasks
Migrating Web application components
Related reference
Listener classes for servlet context and session changes
Example: com.ibm.websphere.DBConnectionListener.java
Filter, FilterChain, FilterConfig classes for servlet filtering
Example: com.ibm.websphere.LoggingFilter.java
autoRequestEncoding and autoResponseEncoding
Examples: autoRequestEncoding and autoResponseEncoding encoding examples
Web applications: Resources for learning



Searchable topic ID:   tweb_aov3servlet
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tweb_aov3servlet.html

Library | Support | Terms of Use | Feedback