Showing posts with label Ant. Show all posts
Showing posts with label Ant. Show all posts

Sunday, April 12, 2015

Generating java files from XSD using Maven and JAXB

Java Architecture for XML Binding (JAXB) provides a fast and convenient way to bind XML schemas and Java representations, making it easy for Java developers to incorporate XML data and processing functions in Java applications. As part of this process, JAXB provides methods for unmarshalling (reading) XML instance documents into Java content trees, and then marshalling (writing) Java content trees back into XML instance documents. JAXB also provides a way to generate XML schema from Java objects and vice-versa.
Here we are going to talk about generating java objects from your XSD (XML Schema Definition).

Note : If you are using only Ant for your build, the flow is explained here.

Thursday, October 10, 2013

Generating java files from XSD using Ant and JAXB

Java Architecture for XML Binding (JAXB) provides a fast and convenient way to bind XML schemas and Java representations, making it easy for Java developers to incorporate XML data and processing functions in Java applications. As part of this process, JAXB provides methods for unmarshalling (reading) XML instance documents into Java content trees, and then marshalling (writing) Java content trees back into XML instance documents. JAXB also provides a way to generate XML schema from Java objects and vice-versa.

Here we are going to talk about generating java objects from your XSD (XML Schema Definition).

Note : If you are using Maven for build, then refer this article