by Andrey Adamovich and Luciano Fiandesio
Groovy is an extremely powerful language yet simple and fun to use. It can be used for simple scripting (like Python or bash) or for building complex application. Run-time speed was used to be an issue, but with each release Groovy gets faster and close to native Java performances. The language is not difficult to learn for someone with a Java background and after a bit it becomes clear that Groovy is more fun and productive than Java, mostly because of the excessive verbosity of the Java language. Furthermore, Groovy has features - such as closures - that allow Java developers to try out functional programming and get closer to languages like Scala or Clojure as well as Java 8.
The book contains a number of recipes that put the language to work in different areas of software development and interesting new technologies, such as JSON/REST, DSL, NoSQL. Also, there are non-trivial recipes that can actually be used in real life development.
Groovy cookbook is definitively an interesting read for developers who are attracted by the “getting things done” approach and are ready to get their hands dirty without much ceremony. The recipes in the book can help new developers to get acquainted with the language and experienced ones to access advanced features.
 Chapter 1. Getting Started with Groovy
Chapter 1. Getting Started with Groovy Chapter 2. Using Groovy Ecosystem
Chapter 2. Using Groovy Ecosystem Chapter 3. Using Groovy Language Features
Chapter 3. Using Groovy Language Features Chapter 4. Working with Files in Groovy
Chapter 4. Working with Files in Groovy Chapter 5. Working with XML in Groovy
Chapter 5. Working with XML in Groovy Chapter 6. Working with JSON in Groovy
Chapter 6. Working with JSON in Groovy Chapter 7. Working with Databases in Groovy
Chapter 7. Working with Databases in Groovy Chapter 8. Working with Web Services in Groovy
Chapter 8. Working with Web Services in Groovy Chapter 9. Metaprogramming and DSLs in Groovy
Chapter 9. Metaprogramming and DSLs in Groovy Chapter 10. Concurrent Programming with Groovy
Chapter 10. Concurrent Programming with Groovy Chapter 11. Testing with Groovy
Chapter 11. Testing with Groovy Chapter 12. Unpublished Recipes
Chapter 12. Unpublished Recipes