JAXB Archive

JAXB Unmarshalling Example

By the help of UnMarshaller interface, we can unmarshal(read) the object into xml document. In this example, we are going to convert simple xml document into java object. Let’s see the steps to convert XML …

JAXB Marshalling Example

In this tutorial we are using Marshaller interface, we can marshal(write) the object into xml document. In the previous page, we have seen the simple example of converting object into xml. In this example, we …

JAXB Hello World Example

JAXB, stands for Java Architecture for XML Binding, using JAXB annotation to convert Java object to / from XML file. In this tutorial, we show you how to use JAXB to do following stuffs : …