7.2. Summary

Message-Oriented Middleware (MOM) provides our applications with a level of abstraction that supports both synchronous and asynchronous delivery of messages. Because of this abstraction, we can deal with both highly connected and often-disconnected environments without having our applications cognizant of this point.

JMS is a Java API that provides a consistent interface to MOM implementations. It allows us to represent messages as Java objects that are natively supported by our application. When we desire to send XML messages between our applications, as is commonly being done in e-commerce applications today, then JMS allows us to create an abstract representation of the XML message that we can pass to a SAX or DOM processing facility. ...

Get Enterprise Application Integration With XML and Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.