Architecture

The following section examines the basic architecture of JAXM. First, it describes typical messaging patterns. Then it introduces the concepts of providers and messaging profiles.

Messaging Patterns

One of JAXM's distinguishing features is that the API supports both synchronous and asynchronous communications. The Web has made us all familiar with synchronous communication: An application sends a message, usually over a socket, and blocks indefinitely until it receives a reply. (As with Web browsers, most well-behaved applications set a timeout limit on how long they will wait for a reply before signaling an exception.) In contrast, an application using asynchronous communication does not block when it sends a message, because it ...

Get Java™ Web Services Unleashed 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.