Ask the Expert

Can we create our own UDDI registry w/Java APIs?

Can we create our own UDDI registry using Java APIs?

    Requires Free Membership to View

Most UDDI registry implementations have been built with Java, so that's empirical proof that you can create your own UDDI registry using Java APIs.

But building a UDDI registry is a very large project. Rather than building your own registry from scratch, I suggest you start with an open source implementation such as jUDDI (see http://ws.apache.org/juddi/).

A UDDI service is a Web service that requires a transactional data store. So in addition to Java APIs, you will also need a Web services platform, an HTTP server, and a database (typically a relational database). The UDDI spec defines a set of SOAP APIs (described with WSDL), and it defines the expected behavior of the registry for each API operation. You will have to write the business logic that processes the SOAP APIs and implements the expected behavior.

But perhaps you meant to ask whether you can access a UDDI registry using Java APIs. The answer to that question is also yes. You can use JAX-RPC to access a UDDI registry. As I said, a UDDI registry is a Web service. Its SOAP API is defined with WSDL. Simply compile the WSDL using JAX-RPC and go. But again, it's easier to start with a client library. I suggest using UDDI4J (see http://www.uddi4j.org), an open source UDDI client library.

This was first published in January 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: