A new Java API called Java Architecture for XML Binding (JAXB) can make it easier to access XML documents from applications written in the Java programming language.
The Extensible Markup Language (XML) and Java technology are natural partners in helping developers exchange data and programs across the Internet.
Let's look at JAXB in action, and compare it to SAX and DOM-based processing.
Suppose you need to develop a Java application that accesses and displays data in XML documents such as
The following line installs the our own error handler.
XML and Java technology are recognized as ideal building blocks for developing Web services and applications that access Web services.
There is no need to create and use a parser and no need to write a content handler with callback methods.