10.3. Creating and Packaging the Application

Creating and packaging this application involve several steps:

1.
Starting the J2EE servers and the deploytool
2.
Creating a connection factory
3.
Creating the first J2EE application
4.
Packaging the application client
5.
Creating the second J2EE application
6.
Packaging the message-driven bean
7.
Checking the JNDI names

10.3.1. Starting the J2EE Servers and the Deploytool

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

1.
At a command line prompt on the local system, start the J2EE server:
j2ee -verbose
Wait until the server displays the message “J2EE server startup complete.” (To stop the server, ...

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.