Part 3. Groovy in the real world
In part 3, “Groovy in the real world,” I try to address the sorts of challenges Java developers face on a regular basis.
I start with the Spring framework, which is probably the most commonly used open source project in the Java world. Spring and Groovy are old friends and work together beautifully. Chapter 7 shows how to use Groovy classes as Spring beans anywhere in your system, including aspects. It then shows Spring capabilities unique to dynamic languages, like refreshable beans, inline scripted beans, and the BeanBuilder class from Grails.
Chapter 8 covers Groovy interactions with persistent storage. Groovy includes a very useful façade over JDBC known as the groovy.sql.Sql class, which is effective when ...