Adding dependency jar files – HP Integrity NonStop J-Series User Manual
Page 246

mapping purposes. Therefore, you must delete the EmployeeRowMapper.java file from the
com.hp.empinfo.domain
package.
Adding Dependency JAR Files
To incorporate the features of Hibernate in the EmpInfo application, the following JAR files, other
than the ones added while developing EmpInfo application, must be added in the EmpInfo project
library:
Table 28 Dependency JAR Files
Source Location
Dependency JAR Files
app/
com.springsource.antlr-2.7.6.jar
com.springsource.javax.servlet.jsp.
jstl-1.1.2.jar
com.springsource.javax.servlet-2.5.0.jar
com.springsource.javax.transaction-1.1.0.jar
com.springsource.net.sf.cglib-2.2.0.jar
com.springsource.org.apache.
commons.collections-3.2.1.jar
com.springsource.org.apache.commons.
dbcp-1.2.2.osgi.jar
com.springsource.org.apache.
commons.lang-2.1.0.jar
com.springsource.org.apache.
commons.logging-1.1.1.jar
com.springsource.org.apache.
commons.pool-1.5.3.jar
com.springsource.org.apache.log4j-1.2.15.jar
com.springsource.org.aspectj.weaver-1.6.5.
RELEASE.jar
com.springsource.org.dom4j-1.6.1.jar
com.springsource.slf4j.api-1.5.6.jar
com.springsource.slf4j.log4j-1.5.6.jar
hibernate3.jar
hibernate35sqlmx.jar
javassist-3.9.0.GA.jar
NOTE:
<Hibernate_3.5.1_Home>: The directory on the windows system where the hibernate
3.5.1 distribution files are extracted.
To add the dependency JAR files in the project library path and to resolve the J2EE module
dependency on these JAR files, follow the instructions in the
Adding Dependency JAR Files in the
section of the
“Getting Started with Spring” (page 38)
section.
The EmpInfo application is now modified to integrate Hibernate into a Spring application (EmpInfo)
to handle database operations.
246 Integrating Frameworks