The Java Message Service API
The Java Message Service API
The Java Message Service API
This chapter provides an introduction to the Java Message Service (JMS) API, a Java API that
allows applications to create, send, receive, and read messages using reliable, asynchronous,
loosely coupled communication. It covers the following topics:
Overview of the JMS API
This overview of the JMS API answers the following questions.
What Is Messaging?
Messaging is a method of communication between software components or applications. A
messaging system is a peer-to-peer facility: A messaging client can send messages to, and
receive messages from, any other client. Each client connects to a messaging agent that provides
facilities for creating, sending, receiving, and reading messages.
Messaging enables distributed communication that is loosely coupled. A component sends a
message to a destination, and the recipient can retrieve the message from the destination.
31
C H A P T E R
3 1
893