Deploying and Running SimpleMessageApp

To deploy and run this example, go to the <INSTALL>/j2eetutorial14/examples/ejb/simplemessage directory.

Creating the Administered Objects

This example requires the following:

  • A JMS connection factory resource

  • A JMS destination resource

  • A physical destination to which the destination resource refers

If you have run the simple JMS examples in Chapter 33 and have not deleted the resources, you already have these resources and do not need to perform these steps.

To start the Admin Console, follow the instructions in Starting the Admin Console (page 27).

To create the connection factory, perform the following steps:

1.
In the tree component, expand the Java Message Service node.
2.
Select the Connection Factories ...

Get The J2EE™ Tutorial Second Edition 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.