Multiple choice technology web technology

Java API for XML Binding (JAX-B) is an API

  1. That can be used to generate Java classes from an XML schema

  2. Can be used to read and write XML using Java classes generated from an XML schema

  3. Is used for parsing XML using SAX and DOM

  4. Both A and B

  5. Both B and C

  6. Both A and C

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

JAX-B provides a two-way binding between XML and Java objects. It can generate Java classes from an XML schema (option A), and then use those classes to read and write XML documents (option B). SAX and DOM (option C) are separate parsing APIs, not part of JAX-B.