This is the first part of tutorial about using Hibernate and JPA. This part is an introduction to to JPA and Hibernate. The second part will look at putting together a Spring MVC application using Spring ORM to reduce the amount of code necessary to create a CRUD application.
To complete this you'll want to be familiar with Maven, JUnit, SQL and relational databases.
Firstly we'll need a couple of basic dependencies. Essentially there are three layers: