Adding JPA (via Hibernate) with Spring to Struts2 Project
This Guide Requires:
- Spring is already added to the project: integrating spring tutorial.
- A MySQL database is configured for the example we will use: Setup MySQL Message Store Database
- Glassfish connection pool has been estabilish for the above database.
Here we will describe the process of adding JPA via Hibernate, we will be using some freatures of Netbeans.
First a database should be configured and the the application server configured to make use of that connection to complete these steps follow: Set up MySQL and Configure Glassfish Application Server for JPA Demo
[this is still in progress]