some examples about how to convert Java objects into XML structures, this is called marshalling. We will show how to handle primitive types, collections and more complex types using adapters.
how to do the complementary operation, called un-marshaling, i.e. converting XML files into Java objects.
using Java annotations, we will list and explain the most important annotations used within JAXB.
provide an introduction to XSDs (XML Schemas) which are used for validation and are a powerful tool supported by JAXB. We will see how XSDs can be used for marshalling as well.
list several tools that can be used in combination with JAXB that help programmers in different ways.
Full Article Source link:
JAXB Tutorial for Java XML Binding – The ULTIMATE Guide (PDF Download)