Chapter 8. JMS and XML

JMS and XML

In this chapter, I will discuss how Extensible Markup Language (XML) and Java Message Service (JMS) work together. The JMS specification does not specify any mechanism for how to carry an XML-formatted message body, but XML payloads can still be transferred via JMS systems. Because XML is text-based, it can be treated programmatically as a Text type message by a JMS client application developer.

Sun released the Java XML Pack to enable developers to use XML in Java-based applications. This pack combines several of the key industry standards for XML such as Simple API for XML Parsing (SAX), Document Object Model (DOM), XML Stylesheet ...

Get Java Message Service (JMS) for J2EE 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.