A client using JavaTM API for XML Messaging technology ("JAXM client") makes its connections to a messaging provider, which means that all messages it sends or receives go through the provider. The messaging provider is responsible for the delivery of messages, performing many functions behind the scenes. With a messaging provider, it is possible to send a message to multiple destinations, and a messaging provider can be configured to do the following:
The API in the javax.xml.messaging package makes it
possible to do one-way messaging.
One-way messaging allows the client to send a message
and immediately go on to other work because the
response, if there is one, will be sent as a separate operation at
some time in the future.
The javax.xml.messaging package must always work in conjunction
with the javax.xml.soap package, which provides the
API for constructing SOAP messages and retreiving their content.
(The javax.xml.soap package is
defined in the SOAP with Attachments API for
JavaTM (SAAJ) 1.1 specification.)
javax.xml.messaging package and
explains how its classes and interfaces work.