Java Message Service (JMS)
A message-driven middleware (MOM) is an architecture that uses message exchanges, which refers to sending and receiving messages, between the modules of an application or between distributed systems. The MOM provides some good services, such as message persistence or message-delivery guarantees. A message broker is based on a MOM, for instance.
Java Message Service (JMS) is an application programming interface (API) that provides a MOM interface for clients who want an asynchronous process. JMS became part of the EJB technology in the EJB 2.0 specification and a new session bean was then introduced: the message-driven bean (MDB).
An MDB bean is a stateless session bean that is used to listen to requests or objects ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access