or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $2.00 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Groovy in Action [Paperback]

Dierk Koenig , Andrew Glover , Paul King , Guillaume Laforge , Jon Skeet , James Gosling
4.6 out of 5 stars  See all reviews (24 customer reviews)

List Price: $49.99
Price: $31.67 & FREE Shipping. Details
You Save: $18.32 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 18 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Thursday, June 20? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Paperback $31.67  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

January 24, 2007

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.

Purchase of the print book comes with an offer of a free PDF eBook from Manning. Also available is all code from the book.


Frequently Bought Together

Groovy in Action + Grails in Action + The Definitive Guide to Grails (Expert's Voice in Web Development)
Price for all three: $94.13

Buy the selected items together


Editorial Reviews

Review

"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

"The definitive book on the [Groovy] language." -- --Andrew Binstock, SD Times

About the Author

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.


Product Details

  • Paperback: 696 pages
  • Publisher: Manning Publications; 1 edition (January 24, 2007)
  • Language: English
  • ISBN-10: 1932394842
  • ISBN-13: 978-1932394849
  • Product Dimensions: 7.4 x 1.4 x 9.2 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (24 customer reviews)
  • Amazon Best Sellers Rank: #253,747 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.6 out of 5 stars
(24)
4.6 out of 5 stars
Groovy in Action is an excellent book on Groovy and programming. Ning Zhao  |  13 reviewers made a similar statement
The book is written extremly readable and it's been a very pleasent read. Bas Vodde  |  6 reviewers made a similar statement
Most Helpful Customer Reviews
16 of 17 people found the following review helpful
Format:Paperback
Scripting languages, although initially derided as "toy languages", have continued to evolve and mature over time. Now, no serious programmer (in my opinion) would deny that a scripting language can save a ton of time and effort for many programming problems. Groovy In Action by Dierk Konig with Andrew Glover, Paul King, Guillaume Laforge, and Jon Skeet covers the Java scripting language known as Groovy, and does an excellent job in doing so.

Contents:

Your Way to Groovy

Part 1 - The Groovy Language: Overture - The Groovy Basics; The Simple Groovy Datatypes; The Collective Groovy Datatypes; Working With Closures; Groovy Control Structures; Dynamic Object Orientation - Groovy Style

Part 2 - Around The Groovy Library: Working With Builders; Working With The GDK; Database Programming With Groovy; Integrating Groovy; Working With XML

Part 3 - Everyday Groovy: Tips And Tricks; Unit Testing With Groovy; Groovy On Windows; Seeing The Grails Light

Appendix A - Installation And Documentation; Appendix B - Groovy Language Info; Appendix C - GDK API Quick Reference; Appendix D - Cheat Sheets; Index

If you're familiar with the Java language and syntax, then you've already conquered a great deal of what you need to know about Groovy. The authors show how simple a Groovy script can be, and how much can be accomplished in many fewer lines than an equivalent Java program. In part 1, you get the mental framework for how Groovy works, the model for scripts, and many examples of code that cover a broad spectrum of what's possible. Part 2 goes a bit more into the guts of the language, giving you a reference guide to the different language features.
... Read more ›
Comment | 
Was this review helpful to you?
11 of 11 people found the following review helpful
5.0 out of 5 stars You can't live without Groovy. You just can't. August 18, 2007
Format:Paperback|Amazon Verified Purchase
I am going to make this short, because I want to get ONE message across to you, loud and clear. If you are working with Java, you MUST take a look at Groovy.

I cannot overemphasize the coming importance of Groovy on the Java platform, not just in web development, but everywhere. Just try it already. You'll "get it." Just trust me and do it!

Groovy in Action is a first rate introduction and reference, and you really do need a book for this language. I don't recommend trying to go it alone with online reference material, though there is plenty there to give you a taste of why Groovy is about to become your new favorite language.

Read the other reviews. I'm not going to repeat a bunch of stuff here. But whatever you do, TRY GROOVY. You will quickly come to wonder how you ever got along without it.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
5.0 out of 5 stars Great Primer (if a bit dated) on a Great Language March 8, 2008
Format:Paperback
While getting a little long in the tooth (GINA was released pre-Groovy 1.0, Groovy is now above 1.5), the material presented in the book is still very relevant and helpful. The biggest issue is that some of the newer (and cooler!) features, such as ExpandoMetaClass, of the language are not covered.

That being said, this is still a great introduction to the a language that will likely become an important player in Java shops as developers migrate existing designs to take advantage of the power the dynamic programming provides. The authors do a great job of explaining the concepts and syntax of the language, making it easy to quickly begin writing code of your own.

While books such as Groovy Recipes: Greasing the Wheels of Java are now available that cover the newest features in Groovy, a perusal of GINA can help to flatten the learning curve.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
5.0 out of 5 stars Simply outstanding January 31, 2007
Format:Paperback
I have read a lot of books that claim to drive you through all aspects of a new programming language. Most don't. "Groovy in Action" does this outstandingly.

Navigating in the 16 chapters is a pleasure regardless of your knowledge of the subject.

If you are a Java newbie, you will painlessly be initiated to the syntax of the language through numerous simple but useful samples. Should you already be a Java addict, you will learn the interesting subtle differences between the two languages - but be careful as this is a one way ticket :-)

You will also find Closures and the special syntax for collections missing from the JDK.

Finally, if you are already familiar with dynamic languages and Groovy itself, you will probably find it very interesting to learn how Groovy works behind the scenes with its Meta Object Protocol.

If you've been curious about dynamic languages and want to learn Groovy, this is the book that is missing on your desk. I'm pleased with the quality of the writing, the examples, and the quick pace of the book.

I am very impressed.

Thanks guys for this really enjoyable piece of work.

Guillaume Alléon
Comment | 
Was this review helpful to you?
10 of 12 people found the following review helpful
5.0 out of 5 stars What a great new language! February 3, 2007
Format:Paperback
When I picked up this book for the first time, I had no clue what Groovy was, what the background of Groovy was or whether it was actually useful and good. The name of the book sounded good though!

After reading this book, I know. Groovy is a new programming language that is based on Java. It's more like a scripting language than Java, but then not exactly that :) It's a dynamic language. It can be described as Java with all the missing Java features. Groovy is a serious challenger to Ruby in the race to becoming the latest modern popular programming language.

The book starts with explaining the differences between Groovy and Java. From there it goes over explaining all the basic Groovy concepts, in a way that a good programming language book should do it. It introduces exciting things like Closures and Builders. Closures in particular is something really missing from Java at the moment and it's nice to have it in Groovy.

The book continuous and talks about Groovy and XML, Databases, Web and unit testing. The book covers all major topics that it needs after finishing the book you'll know about Groovy and probably want to start developing Groovy code (if you haven't already started!)

The book is written extremly readable and it's been a very pleasent read. The autors done a great job. Thanks!
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars Read tutorial instead
This book is not very useful if you want start coding. Instead I read a few tutorials online which helped me to start coding right away.
Published 9 months ago by M. B. Shoushteri
4.0 out of 5 stars Really good introduction to Groovy
Courtesy of Filip Pajak from Szczecin JUG:

This book is split into three parts. First one is about language, second is about advanced features which coming with Groovy... Read more
Published on May 26, 2010 by Leszek Gruchaa
5.0 out of 5 stars Has staying power...
I started my career with "dynamic languages" (we called them scripting languages then). I enjoy getting things done quickly with scripting languages, the power it gives you and the... Read more
Published on November 23, 2009 by Michael S. Mckinney
5.0 out of 5 stars Excellent Primer and More
I am a Java developer who wanted to learn how to program in Groovy. Since Groovy is the second official JVM language (Java being the first), it is becoming more common to find... Read more
Published on November 17, 2009 by Adam Thomas
2.0 out of 5 stars Not very impressed with this book
I am an experienced java developer and bought this book as a way of learning groovy for a project I was working on. I have not been very impressed with this book. Read more
Published on March 20, 2009 by Andrew
5.0 out of 5 stars The K&R of Groovy programming books
Groovy brings advanced language features such as closures, dynamic typing, and the meta object protocol to the Java platform, and at the same time makes your codebase smaller and... Read more
Published on November 8, 2008 by calvinnme
4.0 out of 5 stars Excellent resource
Highly recommend the book to those starting to learn Groovy and as a reference for those that are somewhat familiar with it.
Published on October 29, 2008 by Penguinns
5.0 out of 5 stars Groovy is different. Get this book and learn
I feel like Groovy is like a programming language "Eintopf", it aggregates some best characteristics of a variety of programming languages. Read more
Published on July 20, 2008 by Ning Zhao
5.0 out of 5 stars Groovy In Action is an awesome Groovy book and reference.
For those of you who haven't heard of Groovy, Groovy is a scripting language that is built on top of Java. Read more
Published on April 6, 2008 by Groovy Fan
5.0 out of 5 stars awesome
This book is totally awesome. The book makes it very easy to jump around and come back to previous chapters. The book's online forum is great too. Read more
Published on March 22, 2008 by Roberto
Search Customer Reviews
Only search this product's reviews


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category