Java Web Services Architecture

In Chapter 2, we looked at the role of registries in service-oriented architectures. The Java API for XML Registries (JAXR) allows Java applications to communicate and interact with service registries and repositories for Web services. As corporations begin to develop an increasing number of services for consumption by business partners, or even internally within their organizations, they need a standard API to undertake this task of interacting with the registries. Using a vendor-, protocol-, or implementation-specific API for this purpose couples the Web service to the vendor implementation.
JAXR is a standard extension API which, like the other XML APIs, has been developed by the collaborative effort of the community as part of the Java Community Process under JSR-93, which became a final specification in April 2002. The JAXR reference implementation is included in the JAX pack and is also packaged with JWSDP.
Before we look at JAXR, let us revisit some of the concepts regarding registries introduced in Chapter 6. A naming service is a critical building block in an enterprise network. It allows names to be associated with objects and objects to be located by name. For example, a Domain Name Service (DNS) holds a mapping between a domain name and an IP address. When queried for www.webservicesarchitecture.com, it returns the IP address 66.45.57.100. A phone book is an example of a naming service where listings are a little more organized by name and, in the yellow pages, by category (lawyers, movers, restaurants, etc.)
A...