Apache Scout is an open source implementation of the JSR 93 - JavaTM API for XML Registries 1.0 (JAXR). The JAXR API allows the integration of XML Registries based on either UDDI or ebXML. Scout implements the required (level 0) part of the specification, which means that is can talk to any UDDI-2.0 compliant Registry.
This JSR requests the creation of the Java API for XML Registries 1.0 specification (JAXR). JAXR may be viewed as analogous to Java Naming and Directory Interface (JNDI) but designed specifically for (internet) sharing of XML-related business information.
Download the Scout-1.0.jar and set up a UDDI-2.0 compliant Registry like jUDDI-2.x. Check out the unittest in the Scout project as they are nice examples on how to use the JAXR API. The unit-tests use embedded jUDDI backed by an embedded Derby database. The configuration for this can be found in the scout.properties and juddi.properties files.
Additional information regarding JAXR can be found at: