|
Enabling Web-services in the DemoThis section describes how to enable the Web-services feature of the Java Pet Store Demo. You must have first installed the basic version of the demo as described here. System RequirementsYou need to download and install the following additional software:1. Java Web Services Developer Pack, v1.0: download here Required Environment VariablesYou need to set an additional environment variable:JWSDP_HOME must point to the root directory of your Java Web Services Developer Pack (JWSDP) installation. For example, if you installed the JWSDP in /usr/local/java/jwsdp1.0, then that path should be the value of JWSDP_HOME. We will refer to this path as <jwsdp.home> in the rest of the document. Installing the DemoTo install the demo with the webservices features enabled, follow these steps:
If you are using Unix, open a shell prompt and enter these commands: cd <petstore.home>/webservicesIf you are using Windows, open a command prompt and enter these commands: cd <petstore.home>\webservicesRun the setup script to deploy the applications. If you are using Unix, open a shell prompt and enter these commands: sh setup.sh deployIf you are using Windows, open a command prompt and enter these commands: setup.bat deploy For information on what changes were made to WebService-enable the Java PetStore Demo application, click here. | |||
|
| ||||||||||||