Chapter 8. Testing Servlets Using WSAD

In Chapter 7, you learned how to develop a simple servlet-based Web application. In this chapter, we'll finish the example by deploying it to an application server, running the application, and doing simple debugging. Specifically we'll:

  1. Edit the Web deployment descriptor

  2. Deploy to an enterprise application

  3. Configure the WSAD test environment and publish the application

  4. Start the WSAD test environment

  5. Run the application on the test server

  6. Edit HMTL and servlet code and retest

  7. Debug a servlet

The following sections cover each step in detail. Refer to Chapter 7 for a description of the sample application, the architecture used, and the implementation code.

Edit the Web Deployment Descriptor

The Web application in

Get Enterprise Java Programming with IBM WebSphere now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.