Multiple choice technology architecture

It provides a convenient way to bind an XML schema to a representation in Java code. This makes it easy for you to incorporate XML data and processing functions in applications based on Java technology without having to know much about XML itself. Which of the following is the API described above?

  1. JAXR

  2. JAXB

  3. JAXP

  4. SAAJ

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

JAXB (Java Architecture for XML Binding) provides the API described - it binds XML schemas to Java representations, allowing developers to work with XML data as Java objects without detailed XML knowledge. JAXR is for XML registries, JAXP is for parsing, and SAAJ is for SOAP attachments.