|
Guidelines, Patterns, and code for end-to-end Java applications.Java Pet Store Demo 1.3.1 > Installing the Demo Installing the DemoThis section describes how to install the Java Pet Store Demo. System RequirementsBefore installing the demo, you need to install the following softwares:
OR 2. Java 2 SDK, Enterprise Edition (J2EE SDK), v 1.3.1: download here 3. Java Web Start Update Package, v1.0.1: download here Required Environment VariablesYou must also set the environment variables JAVA_HOME and J2EE_HOME as follows:
J2EE_HOME must point to the root directory of your J2EE SDK installation. For example, if you installed the J2EE SDK in /usr/local/java/j2sdkee1.3.1 , then that path should be the value of J2EE_HOME. Installing the DemoTo install the demo, follow these steps:
A directory called petstore1.3.1 will be created. The rest of this documentation will refer to this directory as <petstore.home> .
Run the setup script to install and configure message services and database resources. If you are using Unix, open a shell prompt and enter these commands: cd <petstore.home>If you are using Windows, open a command prompt and enter these commands: cd <petstore.home>
If you are using Unix, open a shell prompt and enter these commands: cd <petstore.home>If you are using Windows, open a command prompt and enter these commands: cd <petstore.home> | |||
|
| ||||||||||||