O'Reilly logo

Java Message Service (JMS) for J2EE by Levent Erdogan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required