Home           J2EE Concepts           JMS           Java Language           Contact           Back           Next           Bookmark this Page          










Some useful tips related to:
 - health & fitness
 - vehicle care
 - cooking
 - misc household tasks

What is JMS?


JMS stands for Java Messaging Service. It is an API written in Java that provides mechanisms for creating/sending/receiving messages. It is meant for interaction between applications.

JMS is gaining popularity because it supports loosely coupled yet highly reliable asynchronous communication between applications.
By reliable, it means that any message would be delivered once and only once.

A JMS application consists of following four components:
- JMS Provider: A messaging system that implements the JMS specification. It also provides admin facilities and sometimes it is referred as JMS Server.
- JMS Clients: Programs (J2EE applications) that can send & receive messages. The sender is called Producer & receiver is called Consumer.
- Messages: The data (objects) that are exchanged between producers & consumers.
- Administered Objects: Destinations & Connection Factories. These are preconfigured JMS objects created by admin.