Adding dependency jar files, For declarative transaction – HP Integrity NonStop J-Series User Manual

Page 233

Advertising
background image

return new ModelAndView("insertresult", "model", model);
}
}
}

Adding Dependency JAR Files

Add the dependency JAR files to the build path of EmpInfo, based on the type of transaction as
explained below:

For Declarative Transaction

To incorporate the features of Declarative Transaction in the EmpInfo application, the following
JAR files, other than the ones added while developing the EmpInfo application, must be added to
the EmpInfo project library path:

Table 27 Dependency JAR Files

Dependency JAR Files

com.springsource.org.aspectj.weaver-1.6.5.RELEASE.jar

com.springsource.net.sf.cglib-2.2.0.jar

NOTE:

All the jar files mentioned in the above table can be found in the following spring

repository:

http://ebr.springsource.com/repository/app/

.

To add these dependency JAR files in the project library path and to resolve the J2EE module
dependency on these JAR files, follow the instructions explained in the

Adding Dependency JAR

Files in the Project Library Path

section of the

“Getting Started with Spring” (page 38)

section.

This completes the modifications in the EmpInfo application to incorporate Declarative Transaction.

Using Spring Transaction Manager 233

Advertising
This manual is related to the following products: