Java / XML
Difference between JAXB and DOM/SAX Parsers,
The Java DOM and SAX parsing APIs are lower-level APIs to parse XML documents, while JAXB is a higher-level API for converting XML elements and attributes to a Java object hierarchy (and vice versa).
Implementations of JAXB will use a DOM or SAX parser behind the scenes to do the actual parsing of the XML input data.
JAXB will be easier to use and less code than using the DOM or SAX parsing API.
More Related questions...