The UDDI Programmer's API specification, however, does not directly define APIs to access a UDDI registry for the Java technology. A Java developer can, therefore, access a UDDI registry using either Java API for XML Registries, or JAXR, or custom Java-based UDDI client APIs such as UDDI for Java, or UDDI4J.

The JAXR API provides a standard Java API for accessing different kinds of XML registries, such as UDDI and Electronic Business XML, or ebXML. The JAXR architecture that enables accessing the UDDI registry is composed of the JAXR client, JAXR provider, registry providers, and registries.

A client application uses the JAXR API to access a registry through a JAXR provider. The JAXR provider is an implementation of the JAXR API that interfaces with the registry providers. The registry providers further enable accessing the registries.

Accessing the UDDI registries involves the following steps. You first establish a connection with the registry. After connecting with the registry, you can perform query and update operations. The registry responds by returning the query results. If the operation fails, you need to catch the exception. Finally, you need to close the connection.