7.3. Deploying and Running the Application

Deploying and running this application involve several steps:

1.
Looking at the deployment descriptor
2.
Adding the server, if necessary
3.
Deploying the application
4.
Running the client
5.
Undeploying the application
6.
Removing the application and stopping the server

7.3.1. Looking at the Deployment Descriptor

As you package an application, the deploytool creates a deployment descriptor in accordance with the packaging choices you make. To see some of the JMS API-related elements of the enterprise bean deployment descriptor, follow these steps.

1.
Select Ejb1 in the tree view.
2.
Choose Descriptor Viewer from the Tools menu.
3.
Select SimpleClient in the tree view and repeat step 2.

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.