JAX-RPC

JAX-RPC is a specification that is developing through the Java Community Process (JCP). It aims to provide a JCP-sanctioned standard set of Java APIs for both a client-side and server-side programming model.

These APIs leverage interoperable communications within Java applications with a protocol design center based on, but not limited to, SOAP. It covers the following areas:

  • A Java code generation model for client-side stubs and server-side tie classes, based on a set of conventions for mapping WSDL to Java and Java to WSDL.

  • An API for dynamic SOAP-RPC and a Call interface that is conceptually similar to Apache SOAP. Call semantics include synchronous invoke and synchronous invoke/one-way. JAX-RPC does not address asynchronous invocation in its 1.0 rendition. A true asynchronous model would require callbacks (onMessage, etc). The one-way invocation model defined in the API is considered synchronous.

  • A model for defining a service, registering it, and invoking it within the J2EE and J2SE environments. This model covers typical J2EE/J2SE deployment issues such as creating deployment descriptors and packaging Web Application Archive (WAR) files.

  • A binding to SOAP, including SOAP Fault handling through Java exceptions and HeaderFault processing.

  • Type mappings between Java and XML datatypes.

  • A service-side invocation handler mechanism used to chain together service method invocations.

  • A reference implementation (RI) that provides a runtime implementation and a code generation ...

Get Java Web Services now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.