You are previewing Spring in Action, Third Edition.

Spring in Action, Third Edition

Cover of Spring in Action, Third Edition by Craig Walls Published by Manning Publications
O'Reilly logo

Chapter 6. Managing transactions


This chapter covers
  • Integrating with transaction managers
  • Managing transactions programmatically
  • Using declarative transactions
  • Describing transactions using annotations


Take a moment to recall your younger days. If you were like many children, you spent more than a few carefree moments on the playground swinging on the swings, traversing the monkey bars, getting dizzy while spinning on the merry-go-round, and going up and down on the teeter-totter.

The problem with the teeter-totter is that it’s practically impossible to enjoy on your own. To truly enjoy a teeter-totter, you need another person: you and a friend both have to agree to play on the teeter-totter. This agreement is an all-or-nothing proposition. ...

The best content for your career. Discover unlimited learning on demand for around $1/day.