Looks like you're going to be using Hibernate with that ejb3-persistence.jar file of yours.
Gregg is correct, if you want to use JPA, you need a framework that supports it. Here's what you need to support a basic JPA & Hibernate development environment:
* A
JDBC compliant Database. (and the ability to perform the most basic of database administration tasks.)
* The JDK 1.5 or better, as annotations didn't exist before
Java 5
* JDBC Drivers for your Database -that's how Hibernate connects to your database of choice
* The various jar files and libraries associated with the Hibernate Core and Hibernate Annotations (essentially, you need Hibernate)
* A properly configured hibernate.cfg.xml file on your runtime classpath.
My website has a free tutorial that goes through all of the steps required to set up a JPA and Hibernate environment.
How to Set Up a Hibernate and JPA (Java Persistence API) Environment on Windows I even go through the installation in this free youtube video.
CBT Video Tutorial on Setting Up a JPA Environment with MySQL & the JDK Hope that all helps!
-Cameron McKenzie
[ April 23, 2008: Message edited by: Cameron Wallace McKenzie ]