Jump to ratings and reviews
Rate this book

Programming Groovy 2

Rate this book
The strength of Java is no longer in the language. It’s in the Java Platform—the JVM, JDK, and rich frameworks and libraries. You don’t have to leave the rich Java Platform to take advantage of dynamic languages such as Groovy. Groovy preserves the Java semantics and extends the JDK, so programming in Groovy feels like the Java language has been augmented; it’s like working with a lighter, more elegant Java. If you’re an experienced Java developer who wants to learn how Groovy works, you’ll find exactly what you need in this book.

You’ll start with the fundamentals of programming in Groovy and how it works with Java, and then you’ll explore advanced concepts such as unit testing with mock objects, using Builders, working with databases and XML, and creating DSLs.

This book will help you quickly learn the new features in Groovy 2 so you can readily apply them on your next project. In addition, you’ll master Groovy’s powerful yet complex run-time and compile-time metaprogramming features. Everything’s up to date and waiting for you to dig in!

Unknown Binding

First published April 8, 2008

30 people are currently reading
140 people want to read

About the author

Venkat Subramaniam

21 books71 followers
Dr. Venkat Subramaniam, founder of Agile Developer, Inc., has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia. Venkat helps his clients effectively apply and succeed with agile practices on their software projects. He is a frequent invited speaker at international software conferences and user groups. He's author of .NET Gotchas (O'Reilly), coauthor of the 2007 Jolt Productivity award-winning book Practices of an Agile Developer (Pragmatic Bookshelf), and author of Programming Groovy (Pragmatic Bookshelf).

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
25 (18%)
4 stars
64 (48%)
3 stars
34 (25%)
2 stars
8 (6%)
1 star
2 (1%)
Displaying 1 - 14 of 14 reviews
Profile Image for Christopher Patti.
111 reviews2 followers
March 16, 2009
Mr. Subramaniam's grasp of the English language seems substantially more complete than many of his fellow countrymen and doesn't get in the way (Which is a true accomplishment for a book by a non native English speaker). What really shines however is his enthusiasm and excitement around dynamic programming languages and Groovy in particular, which is priceless.

While there are occasionally turns of phrase which read awkwardly, none of them that I've found thus far obscure meaning.

This is definitely a worthy choice if you're looking to get your head around the Groovy platform.
Profile Image for Linda.
428 reviews36 followers
January 21, 2010
Groovy is an interesting language and this book makes a good introduction to it. I borrowed it from a coworker and I'm glad I did.

While there are some things about groovy that make me cringe there are some other very interesting concepts in it. Venkat does an excellent job of describing what's going on and has clear, small examples that demonstrate the concepts.

Recommended for all java programmers.
Profile Image for Alain.
20 reviews3 followers
March 28, 2013
A very good foray into an amazing language. Enough material to dig deeper on my own.
Profile Image for Irwan.
Author 8 books118 followers
February 28, 2014
A good starting book on Groovy for people familiar with Java programming language. Used it heavily on creating a presentation at work, and will still be using for the current project.
Profile Image for Balhau.
59 reviews5 followers
January 4, 2014
This is the second book I've read from Venkat Subramaniam and I should say that I'm enjoying a lot. Venkat is, from what I read, a very knowledgeable guy who's have a very specific talent to teach abstract and advanced concepts. The first book I read from Venkat was the "Practices of an Agile Developer", like this first one the approx of Venkat is equally pragmatic and full of wise advices. I trully recomend this book for someone that is new to the groovy language. It should, however, be noticed that the approx here presented is not target for the young and not experience developper. The main purpose is the groovy language, but the main aim of the language is to solve some advanced problems which consist in equally advanced topics of software development.
221 reviews12 followers
August 28, 2008
very decent read, but really hard to use as a reference. (i got groovy recipes envy so i bought that one recently and will read it soon.)

the index sucks.

looking forward to a second edition?! its quite a stretch to compare this relatively thinnish tome to "programming perl" or "programming ruby".
3 reviews1 follower
October 8, 2013
As I started reading this book and couldn't put it down, I am thoroughly impressed and do not regret my decision.
Metaprogramming is covered in a good great depth. This is kind of practical book,explained thoroughly with nice working examples.It actually helped me in understanding Groovy from scratch to depth and becoming productive.I would strongly recommend it to anyone who is interested in Groovy.
Profile Image for Marcin Gryszko.
2 reviews5 followers
November 16, 2011
Altough a bit outdated, it's still the best book to learn Groovy. The metaprogramming chapters are concise but loaded with a lot of knowledge.

I prefer this book over Groovy in Action, which is IMO too wordy.

Profile Image for Guy McArthur.
165 reviews3 followers
February 6, 2014
Takes you deep into Groovy, quickly going through the fundamentals to explore dynamic and meta programming, builders and domain specific languages. It works well as an augment to the online docs to explain core and advanced features as one progresses into those topics.
Profile Image for Tomasz.
103 reviews52 followers
July 7, 2014
Really good introduction to Groovy language. Well written (Venkat, you know :) ) and full of useful information. I wasn't tired or bored while reading any chapter (like it was in "Scala in Action").
If you want to learn Groovy, this book is a good choice.
Profile Image for Sumit.
65 reviews8 followers
April 17, 2016
A good guide for Java programmers, who would like a comparative analysis of how to do things in Groovy as compared to Java. However, if you are new to programming and are planning to start up with Groovy, this is not a book for you.
Profile Image for Arun.
38 reviews1 follower
January 30, 2012
Started well.. but got too heavy after the basics were covered. Going to give Groovy in Action a try.
1 review
October 8, 2012
Sometimes some ideas repeat, looks like author is paid by line of text ;)
Displaying 1 - 14 of 14 reviews

Can't find what you're looking for?

Get help and learn more about the design.