HOME

TheInfoList



OR:

Jakarta XML RPC (JAX-RPC; formerly Java API for XML Based RPC) allows a
Jakarta EE Jakarta EE, formerly Java Platform, Enterprise Edition (Java EE) and Java 2 Platform, Enterprise Edition (J2EE), is a set of specifications, extending Java SE with specifications for enterprise features such as distributed computing and web serv ...
application to invoke a Java-based web service with a known description while still being consistent with its
WSDL The Web Services Description Language (WSDL ) is an XML-based interface description language that is used for describing the functionality offered by a web service. The acronym is also used for any specific WSDL description of a web service (also ...
description. JAX-RPC is one of the
Java XML {{unreferenced, article, date=April 2008 The Java programming language XML APIs developed by Sun Microsystems consist of the following separate computer-programming APIs: * Java API for XML Processing, or JAXP * Java API for XML Messaging, or ...
programming APIs. It can be seen as
Java RMI In computing, the Java Remote Method Invocation (Java RMI) is a Java API that performs remote method invocation, the object-oriented equivalent of remote procedure calls (RPC), with support for direct transfer of serialized Java classes and dist ...
s over web services. JAX-RPC 2.0 was renamed JAX-WS 2.0 (
Java API for XML Web Services The Jakarta XML Web Services (JAX-WS; formerly Java API for XML Web Services) is a Jakarta EE API for creating web services, particularly SOAP services. JAX-WS is one of the Java XML programming APIs. Overview The JAX-WS 2.2 specificatioJSR 224 ...
). JAX-RPC 1 is deprecated with Java EE 6. The JAX-RPC service utilizes W3C (World Wide Web Consortium) standards like WSDL or Web Service Description Language. The core API classes are located in the
Java package A Java package organizes Java classes into namespaces, providing a unique namespace for each type it contains. Classes in the same package can access each other's package-private and protected members. In general, a package can contain the follo ...
. * Supports web-based services and clients using RPC or remote procedure calls which are based on
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. T ...
. * Allow for web service accessibility through Java APIs which in turn allows for communication between different Java applications. * Enables client communication with web service of different language and running on separate platform. It works as follows: #A Java program executes a
method Method ( grc, μέθοδος, methodos) literally means a pursuit of knowledge, investigation, mode of prosecuting such inquiry, or system. In recent centuries it more often means a prescribed process for completing a task. It may refer to: *Scien ...
on a
stub Stub or Stubb may refer to: Shortened objects and entities * Stub (stock), the portion of a corporation left over after most but not all of it has been bought out or spun out * Stub, a tree cut and allowed to regrow from the trunk; see Pollardi ...
(local object representing the remote service) #The stub executes routines in the JAX-RPC Runtime System (RS) #The RS converts the remote method invocation into a
SOAP Soap is a salt of a fatty acid used in a variety of cleansing and lubricating products. In a domestic setting, soaps are surfactants usually used for washing, bathing, and other types of housekeeping. In industrial settings, soaps are use ...
message #The RS transmits the message as an
HTTP The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, ...
request The advantage of such a method is that it allows the Web service to be implemented at server-side as a
Servlet A Jakarta Servlet (formerly Java Servlet) is a Java software component that extends the capabilities of a server. Although servlets can respond to many types of requests, they most commonly implement web containers for hosting web application ...
or EJB container. Thus, Servlet or EJB applications are made available through Web services. Jakarta XML RPC (JAX-RPC) was removed from Jakarta EE 9.


References


External links

*
JAX-RPC 2.0 renamed to JAX-WS 2.0
Java API for XML Web service specifications Java enterprise platform {{compu-prog-stub