XML.com: XML From the Inside Out
oreilly.comSafari Bookshelf.Conferences.

advertisement
 Resource Guide -> XML and Java Tutorials, EDI -> JMS and XML

JMS and XML

Date: Mar. 27, 2001
Link: http://www.onjava.com/pub/a/onjava/2001/02/15/jms_xml.html
Source Author or Organization: TA Flores, O'Reilly Network, ONJava.com

This article discusses employing Java Message Service (JMS) with XML as a means for corporate users to leverage years, or even decades, of investment in Business-to-Business (B2B) Electronic Data Interchange (EDI) systems.

XML offers a method to represent the data that is not proprietary. JMS offers a simple but robust way to get the data "on the wire" (i.e., transport XML data between applications). The fact that the JMS set of messaging interfaces are provided as a Java Application Programming Interface (Java API) is an ease of use plus for many businesses, flattening the learning curve.

JMS offers point-to-point and publish-and-subscribe forms of messaging. Each form may be either synchronously or asynchronously sent or received. The publish-and-subscribe form allows many-to-many communication. The transport protocol has three message delivery modes: "transaction" (which includes acknowledgement), "once and only once" (the most restrictive mode, with delivery guaranteed) and "at most once" (the least restrictive mode).