Jump to content

Jakarta XML RPC

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 77.56.53.183 (talk) at 17:53, 5 August 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Java API for XML-based RPC (JAX-RPC) allows a Java application to invoke a Java-based Web Service with a known description while still being consistent with its WSDL description. JAX-RPC is one of the Java XML programming APIs. It can be seen as Java RMIs over Web services. JAX-RPC 2.0 was renamed JAX-WS 2.0 (Java API for XML Web Services). JAX-RPC 1 is deprecated with Java EE 6.[1] The JAX-RPC service utilizes W3C (World Wide Web Consortium) standards like WSDL or Web Service Description Language [2]

It works as follows:

  1. A Java program executes a method on a stub (local object representing the remote service)
  2. The stub executes routines in the JAX-RPC Runtime System (RS)
  3. The RS converts the remote method invocation into a SOAP message
  4. The RS transmits the message as an HTTP request

The advantage of such a method is that it allows the Web Service to be implemented at server-side as a Servlet or EJB container. Thus, Servlet or EJB applications are made available through Web services.

References