article I found when look for some xml info(notice Key Highlights)
- View Sourcehttp://www.sys-con.com/xml/article2a.cfm?
JAXB, now in its Public Draft 2 status, provides an automated
document-type mapping for a subset of XML Schema-based definitions.
The implementation can be used to map both simple and complex XML
Schemas. Table 1 shows the primitive data-type mapping between XML
data and the resulting Java data types.
Technically speaking, JAXB represents a set of technologies that
provide the capability to:
Generate Java classes from XML Schemas
Unmarshal XML documents into native Java objects
Marshal Java objects into XML documents
Provide optional on-demand validation of XML documents
Key highlights of the JAXB framework are that it:
Is easy to use
Is customizable through the addition of xsd:annotation elements in
Hides the complexity of DOM/SAX APIs
Uses W3C XML Schemas as the definition format (through a defined
Doesn't support DTDs directly
Is portable (A JAXB application should be able to utilize different
JAXB implementations by just regenerating the schema classes and
doesn't require change to the actual application code.)