Home > Articles > Programming > Java

Web Services Registries and Java: the Role of JAXR

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Registries are an important component of Web Services because they allow businesses to collaborate dynamically over the Web. In this article, Frank Coyle takes you on a tour of what Java API for Registries (JAXR) can offer. Learn what Java API for Registries (JAXR) can bring to the Web Services table.

Introduction

The Web Services world is one in which clients and services find each other and connect without any explicit prior knowledge. In this open Web world, registries play a critical role in client discovery and lookup, as well as service provider registration. When Web Services are written as Java server-based applications, developers need a way to register their services and to do repository search and lookup.

The recent release of the Java Web Services Developer Pack (JWSDP)—a collection of tools and APIs for building Web Services based on the Java 2 Enterprise Edition (J2EE)—includes an API tailored for registry interaction. The Java API for Registries (JAXR) provides a convenient way for Java developers to use a single simple API to access a variety of XML registries including UDDI and ebXML. In this article, we explore the role played by UDDI and ebXML registries in the Web Services world, and examine some of the details of working with the JAXR to connect with these and other registries.

Registry World—UDDI versus ebXML

Currently, there are two important registries associated with Web Services: ebXML and UDDI. ebXML is the product of a joint development effort between OASIS and United Nations (UN/CEFACT), whereas UDDI is the result of a collaborative effort by a vendor consortium. Both operate in the Web Services world as repositories of information about Web Services. Both share several common properties, including the following:

  • Both are based on XML.

  • Both involve the concept of lookup and registration in repositories.

  • Both are used by companies to establish software-to-software relationships in a collaborative e-commerce endeavor.

However, there are key differences between the two initiatives; and if you're trying to understand how the Web Services world works, it's useful to understand how UDDI and ebXML differ in fostering Web-based electronic commerce. So let's look briefly at the historical context of each initiative, beginning with ebXML.

  • Share ThisShare This
  • Save To Your Account

Discussions

comments powered by Disqus

Related Resources

#TuesdayTrivia: Spotlight on WP7 (Win a copy of Sams Teach Yourself Windows Phone 7 Application Development)
By on May 2, 2012Comments
These days, what CAN'T a smartphone do? Microsoft is putting their own spin on things to help you experience "life in motion" when using your device. Instead of containing static application icons, the re-imagined Start screen features live Tiles showing real-time content updates.

March Trivia #1: Let there be light! (Win Microsoft Visual Studio LightSwitch Unleashed)
By on March 13, 2012Comments
Want a simplified self-service tool to help you build business applications for the desktop and beyond? Microsoft programmers… meet Visual Studio LightSwitch.

February Trivia #2: There's an App for That (Win Sams Teach Yourself iOS 5 Application Development in 24 Hours)
By on February 28, 2012Comments
In less than a decade, the iOS platform has changed the way we think about mobile communication.

See All Related Blogs