16.1. The Basics of JAX-RPC

Beneath the surface, JAX-RPC clients and servers are exchanging SOAP messages, each of which contains XML representations of the parameters and return values of the methods being called. But as a JAX-RPC programmer, you only need to think in terms of Java objects; the fact that SOAP is being used underneath is completely transparent. In fact, JAX-RPC is designed to be fully compatible with other underlying transports. At the first release of JAX-RPC, SOAP 1.1 and HTTP are required, but future releases may allow different low-level implementations.

Because of this focus on objects, using JAX-RPC is very similar to using Java RMI; it feels much more familiar to a Java programmer than JAXM does. But some surprises are ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.