Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Java API for XML Binding. The Need for Data Binding To support unmarshlling to convert XML data into Java objects. To support marshalling to convert.

Similar presentations


Presentation on theme: "The Java API for XML Binding. The Need for Data Binding To support unmarshlling to convert XML data into Java objects. To support marshalling to convert."— Presentation transcript:

1 The Java API for XML Binding

2 The Need for Data Binding To support unmarshlling to convert XML data into Java objects. To support marshalling to convert Java object tree back into XML data. To support validation to verify that an XML document meets all the constraints expressed in the schema.

3 Role of JAXB (JAXB) provides a fast and convenient way to bind between XML schemas and Java representations, making it easy for Java developers to incorporate XML data and processing functions in Java applications. JAXB provides methods for unmarshalling XML instance documents into Java content trees, and then marshalling Java content trees back into XML instance documents. JAXB also provides a way generate XML schema from Java objects

4 The JAXB Binding Process

5 JAXB Schema Generator Options schemagen [-options...] [java_source_files]

6 Sample Example of binding Java To XML


Download ppt "The Java API for XML Binding. The Need for Data Binding To support unmarshlling to convert XML data into Java objects. To support marshalling to convert."

Similar presentations


Ads by Google