Using JMS with the J2EE RI

The J2EE RI 1.4 is not pre-configured with any JMS resources. In order to use JMS you will have to create

  • A connection factory for queues

  • A connection factory for topics

  • Destination resources for each queue and topic you want to use

  • Physical destinations representing the actual queues and topics

This book is not a guide for administering J2EE RI, so the asant build files supplied on the accompanying Web site create the necessary connection factories, destination resources, and physical destinations required for today's examples. To create the required JMS resources, ensure you have started the J2EE RI default domain (as described on Day 2, “The J2EE Platform and Roles” and run the following command from the Day09/examples ...

Get Sams Teach Yourself J2EE™ in 21 Days, 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.