title: How to use EMF to read XML file?
body: <p>EMF = Eclipse Modeling Framework</p>
  
  <p>I have to use EMF in one of my class projects. I am trying to understand how to use EMF to do the following:</p>
  
  <ol>
  <li>Read XML, </li>
  <li>Get the values into objects.</li>
  <li>Use ORM to persist the values in objects to database. - Done</li>
  <li>Get data from database using ORM and generate XML.</li>
  </ol>
  
  <p>I need to do all of that using: EMF (no idea what so ever) and JPA (DONE).</p>
  
  <p>I have used JAXB and I know, this can be done using JAXB, but how is (EMF == JAXB)?!</p>
  
  <p>I have created many java classes using EMF, but there are so many of them! Where do I implement the read/write methods and how do I run the EMF project?</p>
  
  <p>Thanks</p>
  
  <p><strong><em>UPDATE1</em></strong>
  HINT
  <a href="http://www.eclipsezone.com/eclipse/forums/t58829.html" rel="noreferrer">http://www.eclipsezone.com/eclipse/forums/t58829.html</a></p>
  
  <p><strong><em>UPDATE2</em></strong></p>
  
  <p>I have schema and I have generated the model code using the .xsd. Now I am having problem in reading the data from the XML file.</p>