Chapter 14. Understanding Spring and transactions

This chapter covers

  • Introducing the Spring framework
  • Working with transactions
  • Mastering transactions

As you’ve seen throughout the book, Grails isn’t only about giving you the tools to write web applications. It also provides the means to structure your application in a standard way, whether that’s through a service layer or a more asynchronous, message-oriented architecture as described in chapter 15. This isn’t by chance: the middle tier of your application (the business logic) is important because it normally provides the real business value.

The reason Grails works so well in this area is that it’s built on top of the incredibly popular and powerful Spring framework. We mentioned ...

Get Grails in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.