Java Reference
In-Depth Information
To Run the sendremote Example Using Ant
1. To package the modules, follow these steps:
a. Go to the following directory:
tut-install /examples/jms/sendremote/multiclient/
b. Type the following command:
ant
This command creates a JAR file that contains the client class file and a mani-
fest file.
c. Change to the directory replybean :
cd ../replybean
d. Type the following command:
ant
This command creates a JAR file that contains the bean class file.
2. To deploy the replybean module on the local and remote servers, follow
these steps:
a. Verify that you are still in the directory replybean .
b. Type the following command:
ant deploy
Ignore the message that states that the application is deployed at a URL.
c. Type the following command:
ant deploy-remote -Dsys= remote-system-name
Replace remote-system-name with the actual name of the remote system.
3. To deploy the client, follow these steps:
a. Change to the directory multiclient :
cd ../multiclient
b. Type the following command:
ant getclient
Search WWH ::




Custom Search