About the Examples
This section tells you everything you need to know to install, build, and run the examples.
Required Software
Java Web Services Tutorial Bundle
The example source for the technologies in this tutorial is contained in the Java Web Services Tutorial bundle. If you are viewing this online, you need to download the tutorial bundle from:
Application Server
Sun Java System Application Server Platform Edition 9 is the build and runtime environment for the tutorial examples. To build, deploy, and run the examples, you need a copy of the Application Server and the J2SE 5.0. Building the Examples
Build properties and targets common to all the examples are specified in the files
<
INSTALL
>//examples/common/build.properties
and<
INSTALL
>//examples/common/targets.xml
. Build properties and targets common to a particular technology are specified in the files
<
INSTALL
>//examples/
tech
/common/build.properties
and<
INSTALL
>//examples/
tech
/common/targets.xml
.
<
JAVAEE_HOME
>
refers to the directory where you have installed the Application Server.- Set the
javaee.tutorial.home
property to the location of your tutorial. This property is used forasant
deployment and undeployment.For example, on UNIX:
javaee.tutorial.home=/home/username/javaeetutorial5On Windows:
javaee.tutorial.home=C:/javaeetutorial5Do not install the tutorial to a location with spaces in the path.
- If you did not use the default value (
admin)
for the admin user, set theadmin.user
property If you did not use port 8080, set thedomain.resources.port
property