title: JAXB unmarshalling in detail
body: <p>I am new to jaxb usage, I am able to marshal a java class with xml annotations to .xml but not able to retrive data while unmarshalling. When I do a sysout on my unmarshalled data, it print the address of the context rather than the actual values. I am not sure as where I go wrong. </p>
  
  <pre><code>&lt;collections&gt;
      &lt;collectionclass="testclass"&gt;
          &lt;group&gt;
              &lt;header code="T123" type="toys"/&gt;
              &lt;obj1 location="1" shelf="4" /&gt;
              &lt;obj2 location="7" shelf="2"  count="3"/&gt;
                  &lt;associations&gt;
                      &lt;association type="String" associatedName="train" associatedFieldSize="0"/&gt;
                      &lt;association type="DataLength" associatedName="ship" associatedFieldSize="0"/&gt;
                  &lt;/associations&gt;
              &lt;/obj2&gt;
           &lt;/group&gt;
             &lt;collectionclass="testclass"&gt;
    &lt;/collections&gt;
  </code></pre>
  
  <p>Also I would like to know more about terms like "jaxb context" and "java models/ java model classes" generated on unmarshalling an xml document and how it comes into picture.</p>
  
  <p>Thanks in advance!</p>