Changes for page Adding JPA (via Hibernate) with Spring to Struts2 Project
on 2012/03/11 06:40
on 2012/03/15 22:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,11 @@ 1 -This i ntegration effor will rely on Spring already beingadded to the project if this is not the case see the [[integrating spring tutorial>>doc:Adding Spring Dependancy Injection to Struts2 Project]].1 +**This Guide Requires**: 2 2 3 -Here we will describe the process of adding JPA using a JNDI name to a JDBC connection pool. 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>>doc:Set up MySQL and Configure Glassfish Application Server for JPA Demo]] 3 +* Spring is already added to the project: [[integrating spring tutorial>>url:../../view/Struts2/Adding+Spring+Dependancy+Injection+to+Struts2+Project]]. 4 +* A connection pool has been created in the container and a JNDI name has been created for it: [[Glassfish Connection Pool for MySQL.>>url:../../view/Struts2/Glassfish+Connection+Pool+for+MySQL]] 5 +* A MySQL database is configured for the example we will use: [[Setup MySQL Message Store Database >>doc:Setup MySQL for Demo : Message Store Database]] 4 4 7 +Here we will describe the process of adding JPA via Hibernate, we will be using some freatures of Netbeans. 8 + 9 +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>>doc:Set up MySQL and Configure Glassfish Application Server for JPA Demo]] 10 + 5 5 **[this is still in progress]**