Get to know JPA and Hibernate
The following is a project focused on a simple JPA and Hibernate application. It is a very simple mock library application that utilizes:
- Hibernate and JPA
- JPA annotations and mappings
The target audience is you. I have no requirements, everything here is free and readily available to everyone. If you cannot understand code here, you can read my articles on JPA:
I will be very glad for any comments that you have.
You will need:
- A database server
- An application server
In a command line, change into this project such that when you issue
DIR on Windows), you see
pom.xml among other files.
Then, issue the following command:
mvn clean package
With that, you will create the
target directory. Copy the resulting
JPA_I.war into your application server's deploy directory
localhost:8080/JPA_I (if your server runs on a different address or port, please change accordingly).
- Marek Czernek - halfastack author; find me at www.halfastack.com