What are the advantages of JMS?- JMS is an acronym used for Java Messaging Service.
- The Java Message Service defines a intra-business messaging API, designed to be easily and efficiently supported by a wide range of enterprise messaging products.
The advantages of JMS are:
- Asynchronous messaging: Due to asynchronous messaging, all the pieces don't need to be up for the application to function as a whole.
- Storage: MOM stores the messages on behalf of the receiver when it is down and then sends them once it is up.
- Application clients, Enterprise JavaBeans (EJB) components, and web components can send or synchronously receive a JMS message.
- Application clients can in addition receive JMS messages asynchronously. (Applets, however, are not required to support the JMS API.)
- Message-driven beans, which are a kind of enterprise bean, enable the asynchronous consumption of messages.
- A JMS provider can optionally implement concurrent processing of messages by message-driven beans.
- Message send and receive operations can participate in distributed transactions, which allow JMS operations and database accesses to take place within a single transaction.
|