Groovy in Action, Second Edition cover
welcome to this free extract from
an online version of the Manning book.
to read more

About this Book


Groovy in Action, Second Edition describes the Groovy language, presents the library classes and methods that Groovy adds to the standard Java Development Kit, and leads you through a number of topics that you are likely to encounter in your daily development work. The book has three parts:

An introductory chapter explains what Groovy is and then part 1 starts with a broad overview of Groovy’s language features, before going into more depth about scalar and collective datatypes. The language description includes an explanation of the closure concept that is ubiquitous in Groovy, describing how it relates to and distinguishes itself from control structures. We present Groovy’s model of object-orientation and its dynamic capabilities at both runtime and compile-time. Part 1 closes with a surprise: You can use Groovy as a static language as well!

Who should read this book?

What’s new in the second edition?

Code conventions and downloads

Keeping up to date

Author Online

About the cover illustration