We will be requiring the below two jars to be put in the classpath for performing the marshalling operation.
JAXB stands for Java Architecture for XML Binding, which can be used to convert Java object to XML and XML back to Java object. Basically we will be able to perform the below two operations.
We will be using marshal()/unmarshal() methods of jaxbMarshaller to convert object to xml and vice-versa. [Read more…]