Multiple choice technology architecture

You are building a simple application which will read XML registries and display the Web Service details on the browser. Which of the following API would you use?

  1. JAXR

  2. JAXB

  3. JAXP

  4. SAAJ

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

JAXR (Java API for XML Registries) is designed specifically for accessing business and technical registry information from XML-based registries like UDDI, ebXML, and others. Since the task involves reading XML registries to display web service details, JAXR is the appropriate API. JAXB is for XML binding to Java objects. JAXP is for general XML parsing (DOM/SAX/XSLT). SAAJ is for SOAP message handling.