Building the persistence layer with JPA2

Building the persistence layer with JPA2