Programming a JMS Application Using J2EE RI

In this section, you will develop a simple point-to-point application that sends and receives a text message. Although this code has not been written for any one particular JMS implementation, you will need to be aware that the mechanism for setting up the administered objects is implementation specific. Also, the JNDI names may be different for different J2EE environments.

J2EE RI Connection Factories

With the J2EE RI, you will use the default connection factory objects, named jms/QueueConnectionFactory and jms/TopicConnectionFactory.

Adding Destinations in J2EE RI

J2EE RI provides a command-line program called j2eeadmin to list, create, modify, and delete queues and topics. There is also a screen ...

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