The Web Services Pack Tutorial
Home
TOC
PREV TOP NEXT

Modifying the Application

Since the Web Services Pack is intended for experimentation, it supports iterative development. Whenever you make a change to an application, you must redeploy the application.

Modifying a Class File

To modify a class file in a JavaBean, you change the source code, recompile it, and redeploy the application. For example, suppose that you want to change the exchange rate in the dollarToYen method of the ConverterBean class:

  1. Edit ConverterBean.java in the source directory.
  2. Recompile ConverterBean.java by typing ant build.

Redeploy ConverterBean.java by typing ant deploy.

Modifying the Web Client

To modify the web client:

  1. Edit index.jsp in the source directory.
  2. Execute ant build to copy the modified file to the build directory.
  3. Redeploy ConverterBean.java by typing ant deploy.
  4. Reload the application. This step is described in ***

Reloading the application

Get this section from the PREFACE!

Home
TOC
PREV TOP NEXT