Getting started with Spring Framework, Second Edition by Ashish Sarin & J Sharma

Getting started with Spring Framework, Second Edition by Ashish Sarin & J Sharma

Author:Ashish Sarin & J Sharma [Sarin, Ashish]
Language: eng
Format: epub
Published: 2014-03-27T04:00:00+00:00


7-5 Transaction management using Spring

Spring Framework supports both programmatic and declarative transaction management. In programmatic transaction management, Spring’s transaction management abstraction is used to explicitly start, end and commit transactions. In declarative transaction management, you annotate methods that execute within a transaction with Spring’s @Transactional annotation.

Let’s first look at the transaction management requirement of MyBank application described in section 7-2.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.