Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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

Question: Why Use XML Binding?
Answer:
  • It's not necessary. Everything that must be done with XML can be done with SAX and DOM.
  • It's easier, don't have to write as much code, don't have to learn SAX and/or DOM.
  • It's less error-prone, all the features of the schema are utilized, don't have to remember to manually implement them.
  • It can allow customization of the XML structure unlike XMLEncoder and XMLDecoder in the java.beans package.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook