7.2. Creating and Packaging the Application

Creating and packaging this application involve several steps:

1.
Starting the J2EE server and the Application Deployment Tool
2.
Creating a queue
3.
Creating the J2EE application
4.
Packaging the application client
5.
Packaging the message-driven bean
6.
Checking the JNDI API names (“JNDI names”)

7.2.1. Starting the J2EE Server and the Deploytool

Before you can create and package the application, you must start the J2EE server and the deploytool. Follow these steps.

1.
At the command line prompt, start the J2EE server:
j2ee -verbose
Wait until the server displays the message “J2EE server startup complete.” (To stop the server, type j2ee -stop.)
2.
At another command line prompt, start ...

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.