<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Java_API_for_XML_Messaging</id>
	<title>Java API for XML Messaging - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Java_API_for_XML_Messaging"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Java_API_for_XML_Messaging&amp;action=history"/>
	<updated>2026-09-09T15:48:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Java_API_for_XML_Messaging&amp;diff=3250253&amp;oldid=prev</id>
		<title>imported&gt;InternetArchiveBot: Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.3) (Whoop whoop pull up - 13006</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Java_API_for_XML_Messaging&amp;diff=3250253&amp;oldid=prev"/>
		<updated>2023-03-29T23:33:07Z</updated>

		<summary type="html">&lt;p&gt;Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.3) (&lt;a href=&quot;/wiki143/index.php?title=User:Whoop_whoop_pull_up&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Whoop whoop pull up (page does not exist)&quot;&gt;Whoop whoop pull up&lt;/a&gt; - 13006&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Application programming interface}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Java API for XML Messaging (JAXM)&amp;#039;&amp;#039;&amp;#039; enables [[Distributed computing|distributed software]] applications to communicate using [[Extensible Markup Language|XML]] (and [[SOAP]]). JAXM supports both asynchronous and synchronous messaging.&lt;br /&gt;
&lt;br /&gt;
JAXM is one of the [[Java XML]] [[programming language|programming]] [[Application programming interface|API]]s&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
The [[List of Java APIs|Java API]] for XML Messaging (JAXM) enables developers to use [http://www.ibm.com/developerworks/library/co-tutintro.html XML messaging] using the Java platform. Developers can create and send XML messages over the internet using the JAXM API.&amp;lt;ref&amp;gt;{{Cite web|url=http://www.inf.fu-berlin.de/lehre/SS03/19560-P/Docs/JWSDP/tutorial/doc/JAXM.html|title = Java API for XML Messaging}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
[[File:B2B Messaging Conceptual Model.png|thumbnail|The following figure presents a conceptual relationship between JAXM and other architectural elements required in web-based, business-to-business messaging.]]&lt;br /&gt;
&lt;br /&gt;
Also, Java API for XML Messaging has several advantages over [[Remote Procedure Call]] such as the following:&lt;br /&gt;
&lt;br /&gt;
*One-way (asynchronous) messaging&lt;br /&gt;
*Routing of a message to more than one party&lt;br /&gt;
*Reliable messaging with features such as guaranteed delivery&lt;br /&gt;
&lt;br /&gt;
The complete JAXM API comes with two packages:&amp;lt;ref&amp;gt;{{Cite web|url=http://www.inf.fu-berlin.de/lehre/SS03/19560-P/Docs/JWSDP/tutorial/doc/JAXM.html|title = Java API for XML Messaging}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
*[http://docs.oracle.com/javaee/7/api/index.html?javax/xml/soap/package-summary.html &amp;#039;&amp;#039;&amp;#039;javax.xml.soap:&amp;#039;&amp;#039;&amp;#039;] This package contains the API for creating and populating a SOAP message.&lt;br /&gt;
*[https://javaee.github.io/openmq/www/javadoc/5.0/javadoc/javax/xml/messaging/package-summary.html &amp;#039;&amp;#039;&amp;#039;javax.xml.messaging:&amp;#039;&amp;#039;&amp;#039;] This package allows one to send one-way messages via a messaging provider.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Messages in JAXM are XML messages that follow the prescribed SOAP format and standards. There are two main types of SOAP messages: those that have attachments and those that do not. For example, if you want your message to contain an image, you must send an attachment with the message. The SAAJ API provides the AttachmentPart class for attachments in SOAP messages.&amp;lt;ref&amp;gt;{{Cite web |url=http://www.tecnun.es/asignaturas/InteInfo/Recursos/Xml/docs/tutorial/doc/JAXM3.html#63936 |title=The Java(tm) XML Pack |access-date=2013-02-05 |archive-date=2017-05-10 |archive-url=https://web.archive.org/web/20170510093344/http://www4.tecnun.es/asignaturas/InteInfo/Recursos/Xml/docs/tutorial/doc/JAXM3.html#63936 |url-status=dead }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Connections==&lt;br /&gt;
A connection is required to send and receive all SOAP messages. The connection can go to a messaging provider or a particular destination.&amp;lt;ref&amp;gt;{{Cite web |url=http://www.tecnun.es/asignaturas/InteInfo/Recursos/Xml/docs/tutorial/doc/JAXM3.html#63936 |title=The Java(tm) XML Pack |access-date=2013-02-05 |archive-date=2017-05-10 |archive-url=https://web.archive.org/web/20170510093344/http://www4.tecnun.es/asignaturas/InteInfo/Recursos/Xml/docs/tutorial/doc/JAXM3.html#63936 |url-status=dead }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
The JAXM API provides the class and interface to represent two kinds of connections:&lt;br /&gt;
*[http://docs.oracle.com/javaee/1.4/api/javax/xml/soap/SOAPConnection.html javax.xml.soap.SOAPConnection]—a connection from the sender directly to the receiver (a point-to-point connection)&lt;br /&gt;
*[http://mq.java.net/nonav/javadoc/4.4/javadoc/javax/xml/messaging/ProviderConnection.html javax.xml.messaging.ProviderConnection]—a connection to a messaging provider&lt;br /&gt;
&lt;br /&gt;
===SOAP Connection===&lt;br /&gt;
{{see also|SOAP with Attachments API for Java}}&lt;br /&gt;
A SOAPConnection is a point-to-point connection for sending messages directly to a remote party.&amp;lt;ref&amp;gt;{{Cite web|url=http://docs.oracle.com/javaee/5/api/javax/xml/soap/SOAPConnection.html|title = SOAPConnection (Java EE 5 SDK)}}&amp;lt;/ref&amp;gt; A SOAPConnection object, which represents a point-to-point connection, is simple to create and use. You do not have to do any configuration to use a SOAPConnection object because it does not need to run in a servlet container (like Tomcat) or in a J2EE server. It is the only way for a client to have a connection without a service provider.&amp;lt;ref&amp;gt;{{Cite web|url=http://docs.oracle.com/javaee/1.3/tutorial/doc/JAXM3.html|title=Overview of JAXM}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Provider Connection===&lt;br /&gt;
A ProviderConnection object represents a connection to a messaging provider. (The next section explains more about messaging providers.) When you send a message via a ProviderConnection object, the message goes to the messaging provider. The messaging provider forwards the message, following the message&amp;#039;s routing instructions, until the message gets to the ultimate recipient&amp;#039;s messaging provider, which in turn forwards the message to the ultimate recipient.&amp;lt;ref&amp;gt;{{Cite web|url=http://docs.oracle.com/javaee/1.3/tutorial/doc/JAXM3.html|title=Overview of JAXM}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Messaging Providers==&lt;br /&gt;
A messaging provider keeps track of messages and routes them to the correct destination or destinations. It is a service that handles the transmission and routing of messages.&amp;lt;ref&amp;gt;{{Cite web |url=http://www.tecnun.es/asignaturas/InteInfo/Recursos/Xml/docs/tutorial/doc/JAXM3.html#63936 |title=The Java(tm) XML Pack |access-date=2013-02-05 |archive-date=2017-05-10 |archive-url=https://web.archive.org/web/20170510093344/http://www4.tecnun.es/asignaturas/InteInfo/Recursos/Xml/docs/tutorial/doc/JAXM3.html#63936 |url-status=dead }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===When to use a Messaging Provider===&lt;br /&gt;
A JAXM client may or may not use a messaging provider. Generally, you do not need a messaging provider if you just want to be a consumer of Web services.&lt;br /&gt;
Some limitations of not using a messaging provider are the following:&lt;br /&gt;
&lt;br /&gt;
The client can send only request-response messages&lt;br /&gt;
The client can act in the client role only&lt;br /&gt;
&lt;br /&gt;
Some advantages to not using a messaging provider are the following:&lt;br /&gt;
&lt;br /&gt;
*The application can be written using the J2SE platform&lt;br /&gt;
*The application is not required to be deployed in a servlet container or a J2EE container&lt;br /&gt;
*No configuration is required&amp;lt;ref&amp;gt;{{Cite web|url=http://www.inf.fu-berlin.de/lehre/SS03/19560-P/Docs/JWSDP/tutorial/doc/JAXM2.html#63942|title=Overview of JAXM}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist|30em}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://jcp.org/en/jsr/detail?id=67 JSR 67: Java(TM) APIs for XML Messaging]&lt;br /&gt;
* [http://download.oracle.com/otndocs/jcp/7902-jaxm-1.1-spec-oth-JSpec/ Java API for XML Messaging (JAXM) Specification 1.1]&lt;br /&gt;
* [http://download.oracle.com/otndocs/jcp/jaxm-1.3-mrel-spec-oth-JSpec/ SOAP with Attachments API for Java (SAAJ) Specification 1.3]&lt;br /&gt;
* [https://mq.java.net/nonav/javadoc/5.0/javadoc/index.html?javax/xml/messaging/package-summary.html javax.xml.messaging] - this package is specified in the JAXM 1.1 specification&lt;br /&gt;
* [http://docs.oracle.com/javaee/7/api/index.html?javax/xml/soap/package-summary.html javax.xml.soap] - this package is specified in the SAAJ 1.3 specification&lt;br /&gt;
* [http://www.tecnun.es/asignaturas/InteInfo/Recursos/Xml/docs/tutorial/doc/JAXM3.html#63936 Overview of JAXM] {{Webarchive|url=https://web.archive.org/web/20170510093344/http://www4.tecnun.es/asignaturas/InteInfo/Recursos/Xml/docs/tutorial/doc/JAXM3.html#63936 |date=2017-05-10 }}&lt;br /&gt;
* [http://www.java2s.com/Code/Java/J2EE/ThisexampledemonstratesahelloworldexampleforusingJAXMAPI.htm Hello World Example for JAXM]&lt;br /&gt;
&lt;br /&gt;
{{Java EE 7}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Java API for XML]]&lt;/div&gt;</summary>
		<author><name>imported&gt;InternetArchiveBot</name></author>
	</entry>
</feed>