title: Marshalling XML file to Java pojo/domain object
body: <p>I have an old Access database that is basically one flat file. I want to migrate the data to my new whizzy, object oriented, hibernate based wonder-app.</p>
  
  <p>The data is available as an XML file, and I want to map to three separate java pojos.  I planned on using JAXB to do this, specifically using <code>@xmlelement</code> annotation. However the structure of the XML file is not optimal, in my pojos I have split up the data into three different objects.  </p>
  
  <p>Will JAXB help with this ?  Do I need to simply create java pojo based on existing schema/xml file (that is not oo) using jaxb. Then create apdater classes/layer to put the data into my three pojos ? Or can I map straight from the xml file to 3 pojos with correct config/annotation ?</p>