10.4. Deploying and Running the Applications

Deploying and running this application involve several steps:

1.
Adding the server
2.
Deploying the applications
3.
Running the client
4.
Undeploying the applications
5.
Removing the applications and stopping the server

10.4.1. Adding the Server

Before you can deploy the application, you must make available to the deploytool both the J2EE servers you started in Section 10.3.1 on page 189. To add the remote server, follow these steps.

1.
From the File menu, choose Add Server.
2.
In the Add Server dialog box, enter the name of the remote system in the Server Name field. Use the same name you specified when you ran the setup script in Section 10.3.2 on page 189.
3.
Click OK.

A node with the ...

Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.