JMS defines the standard for a reliable enterprise messaging, also referred to as MOM. Enterprise messaging provides a reliable and flexible mechanism for the loosely coupled (asynchronous) exchange of critical business data and events throughout an enterprise. The JMS API adds to this a common API and a provider framework that enables the development of portable, message-based applications in the Java programming language.
The JMS API enhances J2EE in the following ways:
Since MOM defines the backbone for many ESB implementations, JMS plays a critical role in Java-based ESB.