Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

JAXB%20Interview%20Questions%20and%20Answers

Question: What are the goals of JAXB?
Answer:
  • Easy to use require minimal XML knowledge, don't require SAX/DOM knowledge.
  • Customizable can customize mapping of XML to Java.
  • Portable can change JAXB implementation without changing source code.
  • Deliver soon, deliver core functionality ASAP.
  • Follow standard design and naming conventions in generated Java.
  • Match schema, easy to identify generated Java components that correspond to schema features.
  • Hide plumbing encapsulate implementation of unmarshalling, marshalling and validation.
  • Validation, on demand validate objects without requiring marshalling.
  • Preserve object equivalence (round tripping), marshalling objects to XML and unmarshalling back to objects results in equivalent objects.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook