Adding JPA (via Hibernate) with Spring to Struts2 Project
This Guide Requires:
- Spring is already added to the project: integrating spring tutorial.integrating spring tutorial
- A connection pool has been created in the container and a JNDI name has been created for it: Glassfish Connection Pool for MySQL.
- A MySQL database is configured for the example we will use: Setup MySQL Message Store 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]