Classpath requirements
Eclipselink
The Eclipselink and JPA API need to be included. Example Maven dependencies:
<dependencies>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.6.3<...
Let's see all the basic component for create a simple Hallo World.
Define which implementation of JPA 2.1 we will use
Build the connection to database creating the persistence-unit
Implements the entities
Implements DAO (Data access object) for manipulate the entities
Test the application
...