JAXB UnMarshalling Example – Convert XML to Java Object

Previously we have learnt how to convert a Java Object into XML using JAXB Marshalling Technique. Now let’s learn the vice-versa converting XML back to Java Object

JAXB Dependency

We will be requiring the below two jars to be put in the classpath for performing the unmarshalling operation.

  1. jaxb-api.jar
  2. jaxb-impl.jar

[Read more…]