Chapter 6: Managing Transactions
Database transactions help you group a set of operations into a single unit of work. All operations succeed, or fail, as a group. Spring's powerful and flexible transaction support is another factor responsible for the framework's success and popularity. Prior to Spring, complex or declarative transactional features typically required a JEE server. Using Aspect-Oriented-Programming (AOP) techniques, Spring helped democratize enterprise-level transactional support, allowing developers to cleanly apply transactional rules to their code whether they were using a full-fledged JEE application server, a lighter weight web container, or even a stand-alone unit test. The important detail is that the transactional rules ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access