Explain the technologies included within JAX pack, i.e. JAXP, JAXB, JAXM, JAX-RPC, JAXR.1. JAXP(Java API for XML Processing) :
- It provides the validation capability and parsing XML documents. There are three basic parsing interfaces in JAXP are DOM, SAX and Straming API for XML STAX.
2. JAXB(Java Architecture for XML Binding) :
- The java classes are mapped to XML representations. The two main features of JAXB are the ability to marshal Java objects into XML and unmarshal XML back to Java objects.
3. JAXM(Java API for XML Messaging) :
- It enables distributed software applications to communicate using XML (and SOAP). JAXM supports both asynchronous and synchronous messaging.
4. JAX-RPC(Java API for XML based RPC) :
- It allows a java based web service that is to be invoked by a java application provided the description, still being consistent with WSDL description. This can resemble as Java RMI over web services.
- Allowing a web service to be implemented at server side as a servlet/jsp or EJB container is the advantage of JAX-RPC.Explain the technologies included within JAX pack, i.e. JAXP, JAXB, JAXM, JAX-RPC, JAXR.- Included in the bundle are:
- Java API for XML Processing (JAXP). - JAXP enables applications to parse, transform, validate and query XML documents. It uses an API that is independent of a particular XML processor implementation. - JAXP enables vendors to provide their own implementations without introducing dependencies in application code.
1. Java Architecture for XML Binding (JAXB) :
- XML is a standard for exchanging data across heterogeneous systems. - Java provides a platform for building portable applications. - A combination of these two enables users and application developers to program Web based functionality on an platform.
2. Java API for XML Messaging (JAXM) :
- JAXM is a SOAP 1.1 based standard to send XML documents over the Internet from the Java platform. - JAXM can be extended to work with higher level messaging protocols by adding the protocol's functionality on top of SOAP.
3. Java API for XML-based RPC (JAX-RPC) :
- JAX-RPC project provides the code base for the Reference Implementation of JAX-RPC, the Java APIs for XML based RPC. JAX-RPC RI is a production-quality implementation that is used directly in a number of products by Sun and other vendors.
4. Java API for XML Registries (JAXR) : - JAXR gives you a uniform way to use business registries that are based on open standards (ebXML) or industry consortium-led specifications (UDDI).
|