Since I passed my web component exam, I move on the JPA exam.
I started reading this first tutorial:
http://www.thejavageek.com/2014/01/08/create-jpa-project-eclipse/ Two more steps I need to add:
1. we need to specify a connector for jdbc driver. Download mysql-connector-java-5.0.8.jar or some other versions of it.
From the first diagram below, click on the little triangle on the right hand side to navigate you to the second diagram.
2. remember to add the connector jar file in the classpath.