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 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.