Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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

Question: What Is XML Binding?
Answer: Maps XML to in-memory objects according to a schema. Generates classes to represent XML elements so developers don't have to write them the binding compiler does this the classes follow JavaBeans property access conventions. Supports three primary operations: 
  • Marshalling a tree of objects into an XML document
  • Unmarshalling an XML document into a tree of objects
  • Includes validation of the XML against the schema 
It is used to generate the classes of the objects validation of object trees against the schema used to generate their classes. Some constraints are enforced while working with the objects and others are only enforced when validation is requested.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook