JAXR (Java API for XML Registries)
JAXR provides standard Java API for accessing web service registries such as UDDI (Universal Description, Discovery and Integration), ebXML (Electronic Business XML) and others. JAXR allows clients to find information about published web services through those registries. Service provides also can publish their services in the registries using JAXR.
JAX-RPC (Java API for XML-based Remote Procedure Calls)
This Java API is used to create web services and web clients that performs remote procedure calls to access the web service. RPC model enables the clients to use services on remote systems.
|Source : docs.oracle.com|
How it works
- A Java method executes on a stub.
- The stub executes routines in the JAX-RPC Runtime System (RS).
- That RS converts the request into a SOAP message.
- RS transmit the message as an HTTP request.
Advantages of JAX-RPC
- Can be used any language (Platform independent)
- Java or non-Java clients can access the web service.
- Hides the complexity of SOAP messages from developer.
- Highly flexible, because JAX-RPC uses technologies defined by W3C.
SAAJ (SOAP with Attachment API for Java)
This is used to transport SOAP messages over the internet. Developers can send and receive SOAP messages in the Java platform using SAAJ. Developers can use it to write SOAP messaging applications instead of using JAX-RPC.
JAXB (Java API for XML Binding)
This API is used to map XML document to Java object. This allows you to develop applications that creats Java object which map to an XML document. This allows you to work with XML data using OO (Object Oriented) technologies without knowing the underlying structure of XML document.