It is recommended that you review the following sections
prior to working with the sample applications.
1. Set Up Your Environment
This
product does not include the Ant Java[tm]-based build tool
(http://ant.apache.org). You must download and install Ant version
1.4.1. For more information, see Using
Ant with the Samples. Before deploying sample applications to Sun
ONE Web Server, make sure your web server environment is functioning
properly. A key requirement prior to working with the samples is to
ensure that the following directory is added to your PATH environment
variable:
<ANT_HOME>/bin
2. Review the Samples Directory
Structure
The sample applications included in the web server
installation are packaged according to a consistent structure. Each
sample's directory structure represents a typical source code directory
structure layout. For more information on the manner in which the
samples are organized, see the section Samples
Directory Structure.
3. Review Using Ant with the Samples
All of the
samples include build.xml
files that enable you to use the Java[tm]-based Ant build facility to
easily recompile, reassemble, and redeploy the sample applications. For
more information on using Ant with the samples, see the section Using
Ant with the Samples.
4. Deploying Samples and
Creating the Resources Using the Administration GUI
All of the samples
include a pre-built WAR file. You can deploy the WAR file using the
Administration GUI. For more information, see the section Deploying
Samples and Creating the Resources using Admin GUI.
5. Review Using PointBase with the Samples
See the section
Using
PointBase with the Samples. This section addresses how to
download, install, and configure the PointBase server when you are using
the web server.
6. Review Using Oracle with the Samples
The samples that
require database connections can also work with an Oracle RDBMS.
For more information about using an Oracle RDBMS with the samples, see
the section Using
Oracle with the Samples.