The Spring framework makes up the core of Grails, providing bean management, dependency injection and transaction support. Grails controllers and the web tier use and extend Spring MVC.
In this talk we'll look at a "configuration over convention" approach to access the full power of Spring in Grails.
The new Grails cache plugins build on the Spring 3.1 Caching API to provide easy and transparent caching to Grails applications. Using annotations and GSP tags you can quickly configure service method, controller action, and page fragment caching to help your application scale by avoiding regenerating expensive responses and method calls.
This talk will demonstrate usage of the plugins and dig into the implementation details to show you what's available and how you can score quick performance wins.
Spring Security and the Grails Spring Security Core plugin have many extension points, but it's often not clear where to look when you want to change how things work for your application. In this talk we'll look at customizing behavior, from overriding configuration parameters to creating custom subclasses.
We'll look at the internals of Spring Security and the plugin to become more familiar with how things work and interconnect and what the standard workflows look like.
Some concrete examples will be demonstrated, including adding extra login fields, dynamic post-login redirects, and a custom authentication approach.
GORM is very powerful and makes it simple to work with databases but there are features and configuration options that aren't available or are inconvenient to work with.
In this talk we'll look at a "configuration over convention" approach to database modeling to access the full power of Hibernate in Grails.