The JMS API

The JMS API was designed to allow Java programs to communicate with messaging systems from a variety of vendors. The API provides for asynchronous messaging, where a client can send a message and does not have to wait for the recipient to receive the message and process it.

The most familiar example of asynchronous messaging is email. When an email is sent, if we are the sender we do not expect the recipient to be sitting at their computer waiting to receive the message as soon as we send it. We don't even expect the recipients computer to be turned on. In fact, we know that the message will most likely be sent to a number of different locations where it will be routed to its final destination, ultimately arriving in the mailbox of ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.