Develop servlets with WAS extensionsSeveral WAS extensions are provided for enhancing your servlets. This task provides a summary of the extensions that you can utilize.
- 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 appserver 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 $WAS_HOME\web\apidocs directory.
All the public WAS APIs are located in the com.ibm.websphere... packages.
- Use your favorite integrated development environment (IDE), or a text editor, to develop or migrate code artifacts that meet the specifications.
- Test the code artifacts.
Assemble your code artifacts into a Web module using the Assembly Toolkit as a prerequisite to deploying the code to the appserver.