For declarative transaction, For programmatic transaction – HP Integrity NonStop H-Series User Manual
Page 381
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 18-1 Dependency
JAR
Files
Source Location
Dependency
JAR
Files
<Spring Home>\lib\aspectj
aspectjweaver.jar
<Spring Home>\lib\cglib
cglib-nodep-2.1_3.jar
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
JAR Files in the Project Library Path
section of the
chapter.
This completes the modifications in the EmpInfo application to incorporate Declarative
Transaction.
shows the Project Explorer View when Declarative Transaction is used.
Figure 18-3 Project Explorer View: Declarative Transaction
For Programmatic Transaction
To incorporate the features of Programmatic Transaction in the EmpInfo application, no additional
JAR
files, other than the ones added while developing the EmpInfo application, are required.
This completes the modifications in the EmpInfo application to incorporate Programmatic
Transaction.
shows the Project Explorer View when Programmatic Transaction is used.
Example of Using Spring Transaction Manager
381