O'Reilly logo

Enterprise Java Programming with IBM WebSphere by Daniel Berg, Greg Hester, Mark Weitzel, Gary Craig, David Pitt, Jim Amsden, Kyle Brown, Russell Stinehour, Peter M. Jakab

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required