Summary
Transaction management is a key part of ensuring data integrity in almost any type of application. In
this chapter, we discussed how to use Spring to manage transactions with almost no impact on your
source code. You also learned how to use local and global transactions.
We provided various examples of transaction implementation, including declarative ways of using
XML configuration and annotation, as well as the programmatic approach.
Local transactions are supported inside/outside of a JEE application server, and only simple
configuration is required to enable local transaction support in Spring. However, setting up a global
transaction environment involves more work and greatly depends on which JTA provider and
corresponding backend resources your application needs to interact with.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home