Groovy in Action
Second edition of this book is now available

Dierk Koenig with Andrew Glover, Paul King, Guillaume Laforge and Jon Skeet

January 2007 | 696 pages | B&W
ISBN: 9781932394849

$49.99 Softbound print book + PDF eBook
$39.99 eBook edition (PDF only)


 Look Inside Resources Downloads


Groovy, the brand-new language for the Java platform, brings to Java many of the features that have made Ruby popular. Groovy in Action is a comprehensive guide to Groovy programming, introducing Java developers to the new dynamic features that Groovy provides. To bring you Groovy in Action, Manning again went to the source by working with a team of expert authors including both members and the manager of the Groovy Project team. The result is the true definitive guide to the new Groovy language.

Groovy in Action introduces Groovy by example, presenting lots of reusable code while explaining the underlying concepts. Java developers new to Groovy find a smooth transition into the dynamic programming world. Groovy experts gain a solid reference that challenges them to explore Groovy deeply and creatively.

Because Groovy is so new, most readers will be learning it from scratch. Groovy in Action quickly moves through the Groovy basics, including:

Readers are presented with rich and detailed examples illustrating Groovy's enhancements to Java, including

Groovy in Action then demonstrates how to Integrate Groovy with XML, and provides,

An additional bonus is a chapter dedicated to Grails, the Groovy web application framework.


About the Authors

Dierk Koenig is a senior software developer, mentor and coach. He publishes in leading German magazines on software development and speaks at international conferences. He works at Canoo Engineering AG, Basel, Switzerland, where he is the founding partner and member of the executive board. He joined the Groovy project in 2004 working as a committer ever since.

Andrew Glover is the President of Stelligent Incorporated which helps companies address software quality with effective developer testing strategies and continuous integration techniques that enable teams to monitor code quality early and often. He actively blogs about software quality at and

Dr Paul King is Managing Director and Principal Consultant for ASERT, an Australian company specialising in helping its customers leverage emerging technologies. He has provided technical and strategic consulting to hundreds of organizations throughout the U.S. and Asia Pacific and is an active contributor to many open source projects. When not being a taxi service for his seven children, you will find Paul tinkering with the latest Agile or enterprise technologies.

As the official Groovy Project Manager and member of the JSR-241 Expert Group standardizing the Groovy Scripting Language, Guillaume Laforge is a passionate Groovy developer. In his professional career, Guillaume is a software architect and Open Source consultant, working for OCTO Technology, a company focusing on architecture of software and information systems

Jon Skeet is a software engineer and inveterate technological dabbler who happens to specialise in Java and C# development. A recent convert to Groovy, Jon is fanatical about using smarter ways to write cleaner, more readable code.


“The examples are the strongest part of the book—all assumptions are checked using assertions and they are said to had been run before printing so one can trust that they're faultless. Explanations are fine-grained so even inexperienced developers can read it with understanding.”
Marek Zganiacz, Senior software developer, Comarch SA

“...Based on its peculiar name alone, I thumbed through a copy of König's book at a local bookstore. In a short time, I was a "true believer".”
Kevin Wall, Computing Reviews

“This is a book that is very readable, engaging, and does a great job of slotting Groovy into the broader world of software development. Highly Recommended.”
Pan Pantziarka

“For anyone considering Groovy or even just interested in seeing what all of the fuss is around the features of dynamic languages such as closures, this book will deliver.”
—Gregory Pierce,

“Examples are clear, complete, and they work!”
—David Sills,

Groovy in Action is not just a language guide, but represents the clear, readable and enjoyable specification of Groovy (and you should definitely read it and start playing with Groovy.”
—Alexander Popescu, Mindstorm

“All-in-all, I think Groovy in Action is among the top five Manning books. For me personally, it's also a perception changing and influential book. [..] I highly recommend Groovy in Action for Java developers who want to learn Groovy in a systematic way and who are starting Groovy projects.”
Weiqi Gao

“The definitive book on the [Groovy] language.”
—Andrew Binstock, SD Times

“... a clear and detailed exposition of what is groovy about Groovy. I'm glad to have it on my bookshelf.”
—From the Foreword by James Gosling

“Excellent code samples ... very readable.”
—Scott Shaw, ThoughtWorks

“Top of my list.”
—Samuel Pullara, VP Technology Strategy, Yahoo, Inc.

“Collects in one place details of the language and its libraries—a valuable resource.”
—John Wilson, The Wilson Partnership

“Great, logical focus on language features.”
—Norman Richards, JBoss Developer, author of XDoclet in Action

“Destined to be the definitive guide. First rate!”
—Glen Smith, Bytecode Pty Ltd

“You want to learn Groovy? This book has all you need.”
—Stuart Caborn, ThoughtWorks

Groovy Wins Top JAX Innovation 2007 Award!
Groovy in Action co-author Dierk Koenig accepted the coveted JAX Innovation Award on behalf of the Groovy project. About Groovy, the Jax Jury said "the project is a satisfying answer to the latest trends regarding agile, dynamic programming languages and helps users to secure their investments in the Java platform." Congratulations Groovy Team!