Modifying empinfo based on the type of transaction, Figure 18-1 – HP Integrity NonStop H-Series User Manual
Page 373
Figure 18-1 Project Explorer View
Modifying the EmpInfo application involves the following tasks:
1.
Modifying EmpInfo based on the Type of Transaction
•
—
—
Modifying EmployeeController.java File
—
•
—
—
2.
•
•
Modifying EmpInfo based on the Type of Transaction
In Declarative Transaction Management, all the transactions are set and managed by the proxy
factories configured in the Spring configuration file. Therefore, you must modify the
applicationContext.xml
file.
In Programmatic Transaction Management, transaction management is done directly in the code.
Therefore, you must modify the
EmployeeController.java
file.
The following sections describe the modifications required in the
applicationContext.xml
file and the
EmployeeController.java
file.
Example of Using Spring Transaction Manager
373