Basic Setup for Building and Running the Demos
==============================================

To build and run the demos, you must install the J2SE Development
Kit (JDK) 5.0.

In each demo, source code for the client and server mainlines 
and the Service Endpoint Interface class are included in the 
src directory. The build process writes generated code to a 
new directory, build/src, and writes compiled code to the 
build/classes directory. 

$SUBSTITUTE_PREREQ$

Basic Setup for Building and Running the Demos in a Servlet Container
---------------------------------------------------------------------

Since $SUBSTITUTE_NAME$ requires JDK/JRE 5.0, you must use a servlet 
container that is compatible with this JDK/JRE. A suitable servlet 
container is Tomcat 5.5 or above.

Be certain to start the servlet container under an environment in which
the JAVA_HOME environment variable points to the JDK/JRE 5.0 installation
and the JAVA_HOME bin directory is included in the system PATH.

Deploying to Apache Tomcat
--------------------------

Set the CATALINA_HOME environment to your Apache Tomcat home directory.
    
Deploy the web application into Tomcat with the following command:

  ant deploy -Dtomcat=true
  
Note: This step checks whether the $SUBSTITUTE_NAME_LOWER$ JARs are present in Tomcat. 
      If not, it automatically copies all the JARs into CATALINA_HOME/shared/lib.
  
Undeploy the web application from Tomcat with the command:

   ant undeploy -Dtomcat=true
