The JavaTM Web Services Tutorial
Home
TOC
Index
PREV TOP NEXT
Divider

Quick Overview

Now that you've downloaded the application and gotten your environment set up for running the example application, this section will show you a quick overview of the steps needed to run the application. Each step is discussed in more detail on the page referenced.

  1. Follow the steps in Setting Up.
  2. Change to the directory for this application, (<JWSDP_HOME>/docs/tutorial/examples/gs (see Creating the Getting Started Application).
  3. Compile the source files by typing the following at the terminal prompt (see Building the Getting Started Application Using Ant):
      ant build
     
    
    Compile errors are listed in Compilation Errors.
  4. Start Tomcat by typing the following at the terminal prompt (see Starting Tomcat):
      <JWSDP_HOME>/bin/startup.sh        (Unix platform)
     
      <JWSDP_HOME>\bin\startup           (Microsoft Windows)
     
    
  5. Deploy the Web application using Ant by typing the following at the terminal prompt (see Installing the Application using Ant), or deploy the Web application using deploytool by following the instructions in Deploying the Application Using deploytool.
      ant install
     
    
    Deployment errors are discussed in Deployment Errors.
  6. Start a Web browser. Enter the following URL to run the example application (see Running the Getting Started Application):
      http://localhost:8080/GSApp
     
    
  7. Shutdown Tomcat by typing the following at the terminal prompt (see Shutting Down Tomcat):
      <JWSDP_HOME>/bin/shutdown.sh        (Unix platform)
     
      <JWSDP_HOME>\bin\shutdown           (Microsoft Windows)
     
    
Divider
Home
TOC
Index
PREV TOP NEXT
Divider

This tutorial contains information on the 1.0 version of the Java Web Services Developer Pack.

All of the material in The Java Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.