JAXB allow binding between java objects and xml instance.
Basically with JAXB you can do 'marshall' and 'unmarshall' operations.
Marshall means the process of conversion from java objects to xml instance. With unmarshall means the opposite.
Marshall example
To start with marshalling we need at least our domain class. Suppose we have a city with many person and i want to have an xml file with a root element city wich contains more
Leggi tutto... (http://blog.intelly-net.com/java/xml/jaxb-binding-java-with-xml.html)
↧