JMS 1.1 unifies point-to-point and publish/subscribe domains, allowing developers to create more general, reusable messaging code. 1.0.2 API provides little support for an application using both domains together, and no support for developing reusable frameworks that can work equally well with destinations of either domain. JMS 1.1 fixes this shortcoming by unifying these domains. This article explores how much easier it is to develop JMS client code using the latest version.
This tutorial provides an overview of the Java Message Service (JMS) and offers the basics for developing programs that use it. JMS provides a way for Java programs to access an enterprise messaging system, also known as message oriented middleware (MOM). MOM provides a mechanism for integrating applications in a loosely coupled, flexible manner by providing asynchronous delivery of data between applications in an indirect way through an intermediary.