The J2EETM Tutorial
Home
TOC
Index
PREV TOP NEXT Search
Feedback

Example Application Overview

This application has the following components:

Figure 16 illustrates the structure of this application. The application client sends messages to the queue, which was created administratively using the j2eeadmin command. The JMS provider (in this, case the J2EE server) delivers the messages to the instances of the message-driven bean, which then processes the messages.

Figure 7-1 The SimpleMessageApp Application

The source code for this application is in the j2eetutorial/examples/src/ejb/simplemessage directory. To compile the code, go to the j2eetutorial/examples directory and type ant simplemessage. A sample SimpleMessageApp.ear file is in the j2eetutorial/examples/ears directory.

Home
TOC
Index
PREV TOP NEXT Search
Feedback