HomeEMF HibernateEMF JDO/JPOXWeb App GenerationServices
 

Tutorial: Library

This tutorial describes how to store and retrieve a number of simple EMF objects. This tutorial is based on the well known library example used in EMF tutorials:

  • Click here for the EMF library example using a XML Schema
  • Click here for the EMF library example using a Rose model

This tutorial assumes that you have done one of these two tutorials. The image below shows the projects which should be present in the workspace.

Library.genmodel

This tutorial will guide you through the following steps:

  1. Environment Setup
  2. Add the runtime plugin to the library model project
  3. Setup initialization code and create and store a Library with a number of Books and a Writer
  4. HQL queries to read the library and its content
  5. Use an EMF resource to read the library and its content

Please click here to start with the tutorial.