WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Developing servlets with WebSphere Application Server extensions

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 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 API documentation for the application server APIs in the install_root\web\apidocs directory for a default installation.

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




Sub-topics
Application life cycle listeners and events
Listener classes for servlet context and session changes
Example: Creating a servlet context listener with com.ibm.websphere.DBConnectionListener.java
Servlet filtering
Example: Implementing a filter with com.ibm.websphere.LoggingFilter.java
Configuring page list servlet client configurations
autoRequestEncoding and autoResponseEncoding
Related concepts
Servlets
Related tasks
Migrating Web application components from WebSphere Application Server Version 5.x
Related reference
Web applications: Resources for learning
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tweb_aov3servlet.html

© Copyright IBM Corporation 2002, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)