Solve everyday programming challenges with Groovy 2 using Packt’s new book and eBook.

January 2014 | Open Source

Packt is pleased to announce the release of its new book Groovy 2 Cookbook, a comprehensive guide with recipes that start from the basics of installing Groovy and running the first scripts, and progresses on to more advanced examples that will help readers take advantage of the language's amazing features. This book is now available in all the popular formats including eBook, Kindle, and selected library formats. The book has 338 pages and is competitively priced at $49.99, while the eBook and Kindle versions are available for $25.49.

About the authors:

Andrey Adamovich is a software craftsman with many years of experience in the different lifecycle phases of software creation. He is passionate about defining good development practices, documenting and presenting architecture, the reuse of code and design patterns, the profiling and analysis of application performance, as well as extreme automation of development and operations activities. He has been using Groovy for a long time and has a deep knowledge of the language internals. He has Master's degree in Computer Science from the Latvian State University.

Luciano Fiandesio is a programmer, technology enthusiast, and entrepreneur living in Zurich, Switzerland. Luciano has been working for the last 18 years in 12 different countries as an architect and developer for large corporations and small start-ups. Some of his clients include Nokia, European Central Bank, BNP Paribas, and Ericsson. He loves coding and designing solutions that are both elegant and rock solid. He holds a Master's degree in Literature and Philosophy from Rome University.

Groovy is an object-oriented programming language for the Java platform. It is a dynamic language with features similar to those of Python, Ruby, Perl, and Smalltalk. It can be used as a scripting language for the Java Platform, is dynamically compiled to Java Virtual Machine (JVM) bytecode, and interoperates with other Java code and libraries. Groovy uses Java-like curly-bracket syntax. Most Java code is also syntactically valid Groovy.


Groovy 2 Cookbook contains a vast number of recipes covering many facets of today's programming landscape. From language-specific topics such as closures and metaprogramming, to more advanced applications of Groovy flexibility such as DSL and testing techniques, this book gives readers quick solutions to everyday problems.

Groovy 2 Cookbook covers the following topics:

Chapter 1: Getting Started with Groovy

Chapter 2: Using Groovy Ecosystem

Chapter 3: Using Groovy Language Features

Chapter 4: Working with Files in Groovy

Chapter 5: Working with XML in Groovy

Chapter 6: Working with JSON in Groovy

Chapter 7: Working with Databases in Groovy

Chapter 8: Working with Web Services in Groovy

Chapter 9: Metaprogramming and DSLs in Groovy

Chapter 10: Concurrent Programming in Groovy

Chapter 11: Testing with Groovy

Groovy 2 Cookbook
Java developers who have no prior knowledge of Groovy, but are interested in discovering new ways to quickly get the job done using a new language will find this book is an indispensable resource.

For more information, please visit:

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software