Groovy in Action

Front Cover
Manning, Jan 1, 2007 - Computers - 659 pages
11 Reviews
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:
Simple and collective Groovy data types Working with Closures and Groovy Control Structures Dynamic Object Orientation, Groovy style

Readers are presented with rich and detailed examples illustrating Groovy's enhancements to Java, including
How to Work with Builders and the GDK Database programming with Groovy

"Groovy in Action" then demonstrates how to Integrate Groovy with XML, and provides,
Tips and Tricks Unit Testing and Build Support Groovy on Windows

An additional bonus is a chapter dedicated to Grails, the Groovy Web Application Framework.

Early PDF chapters of "Groovy in Action" are available from the Manning Early Access Program (MEAP) at http: // As part of thisprogram, readers can also discuss the early manuscript with the author and help shape the manuscript as it's being developed by joining the Author Forum.

From inside the book

What people are saying - Write a review

User ratings

5 stars
4 stars
3 stars
2 stars
1 star

LibraryThing Review

User Review  - yencarnacion - LibraryThing

The Good: This book will teach you Groovy The Bad: I thought that the first part of the Book (which teaches you the Groovy Language) was verbose and could have been better organized. Conclusion: If ... Read full review

LibraryThing Review

User Review  - IvanIdris - LibraryThing

Groovy is a new programming language, that is based on Java, but has optional dynamic typing. Groovy also borrows features from Python and Ruby. The examples in this book appealed most to me. Even if ... Read full review


Your way to Groovy
The Groovy language
The Groovy basics

19 other sections not shown

Other editions - View all

Common terms and phrases

References to this book

About the author (2007)

Dierk Koenig is a senior software developer, mentor and coach. He publishes in leading German magazines on software development and speaks at international conferences.

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 specializing 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.

Guillaume Laforge is the official Groovy Project Manager and member of the JSR-241 Expert Group standardizing the Groovy Scripting Language. Guillaume is a software architect and Open Source consultant, working for OCTO Technology.

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.

Bibliographic information