Pro Spring 2.5 pp 575-610 | Cite as

Transaction Management


Transactions are pivotal parts of a reliable enterprise application. The simplistic view of a transaction includes the begin transaction command; SQL updates, deletes, and so on; and finally the commit/rollback command. But there’s much more to transactions than this! In this chapter, we show you how to use declarative, rather than manually coded, transactions and how to span transactions across multiple transactional resources. We will also show you how to write code that can be synchronized with a transaction, in other words, how to write code that can participate in a transaction and receive commit/rollback notifications. Finally, we give you some advice on how to test transactional code.


Transaction Management Active Transaction Local Transaction Public Class Global Transaction 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jan Machacek, Aleksa Vukotic, Anirvan Chakraborty, and Jessica Ditt 2008

Personalised recommendations