Internet Cross Logo
Internet Cross your one stop web tutorial website
Your Ad Here

Groovy in Action

List Price: $49.99
Our Price: $20.07
Your Save:$ 29.92 ( 60% )
Availability: Usually ships in 24 hours
Manufacturer: Manning Publications Average Customer Rating: Average rating of 5.0/5Average rating of 5.0/5Average rating of 5.0/5Average rating of 5.0/5Average rating of 5.0/5

Buy it now at Amazon.com!

Back to previous page




Groovy in Action


Binding: Paperback
Dewey Decimal Number: 005.133
EAN: 9781932394849
Format: Illustrated
ISBN: 1932394842
Label: Manning Publications
Manufacturer: Manning Publications
Number Of Items: 1
Number Of Pages: 696
Publication Date: 2007-01-17
Publisher: Manning Publications
Studio: Manning Publications

Related Items

Spotlight customer reviews:

Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: The K&R of Groovy programming books
Comment: 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 more concise. By concise I don't mean so compact that nobody can understand it. Groovy builds on your existing experience and familiarity with the Java platform and allows you to pick and choose when to use particular tools and when to combine Groovy and Java.

The book begins by introducing you to what you will need to compile and run Groovy as far as jar files and tools. Part one of the book is entirely dedicated to the language basics: syntax, grammar, and typical idioms. The language is presented via a combination of examples and discussion. The descriptions are detailed but are not overly academic. Chapter two is most important here, because that is where many of the examples lie that you will need to come back to later in the book.

Part 2, "Around the Groovy Library", explores how Groovy extends the Java Runtime Environment. Part one of the book demonstrated how Groovy makes commonly performed tasks easier. The second part shows how the same principle is applied in Groovy's libraries, using many of the advanced language features available to let you do more work with less code. Chapter 8 introduces the builder concept, which is one of Groovy's distinctive capabilities, because it can only be implemented in a general library class with a truly dynamic language. There are builders that come as part of the Groovy distribution, and you are also shown how to create your own builders. Chapter 9 covers the object/method pure GDK library capabilities. Chapter 10 goes covers Groovy's library support for dealing with relational database systems, providing great flexibility when necessary, and significant shortcuts when simple solutions will do. Chapter 11 presents various methods of making Java applications more dynamic by integrating them with Groovy. I found this to be one of the book's most useful chapters, but you need the first 10 for chapter 11 to make sense.

Part 3 supplies guidance on how to best apply your new Groovy knowledge to practical tasks. Chapter 13 reveals tricks of the trade - how to avoid common errors, using snippet collections, and command-line and automation support. Chapter 14 is about unit testing. I just skimmed this part since the subject doesn't appeal to me. Chapter 15 takes Java and Groovy to the Windows platform. It shows how to put Groovy's expressiveness into action for the automation of Windows controls and applications. Finally, chapter 16 looks at Grails and shows how it leverages J2EE, Hibernate, Spring, and Groovy to allow rapid application development.

This book is a great introduction to Groovy, and even at its rather advanced age for a programming book it is still the best of the Groovy introductory texts. However, I am a person who needs an extreme amount of examples to really get something. For that reason I also highly recommend Groovy Recipes: Greasing the Wheels of Java (Pragmatic Programmers). What this book lacks in examples that book has. What that book lacks in detailed explanation, this book has. Thus they go hand in hand extremely well.

Customer Rating: Average rating of 4/5Average rating of 4/5Average rating of 4/5Average rating of 4/5Average rating of 4/5
Summary: Excellent resource
Comment: Highly recommend the book to those starting to learn Groovy and as a reference for those that are somewhat familiar with it.


Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: Groovy is different. Get this book and learn
Comment: I feel like Groovy is like a programming language "Eintopf", it aggregates some best characteristics of a variety of programming languages. No matter which programming style you prefer - procedural, functional, object-oriented, meta-programming, static typed, dynamic typed... - Groovy has much to offer. The most beautiful thing is, you can easily combine different programming styles in one language and write most concise and self-explanatory code to solve your problem. With Groovy, you suddenly have so much mind-freedom, you have the choice of expressing your algorithms as close to the nature of the problems as possible.

There are languages having very concise syntax but the code is not easy for human to read. There are languages and APIs require more strikings on keyboard than thinking. Groovy is different. You have all kinds of syntax sugar while the code still tells a literal story in your problem domain.

The only fields I think Groovy might not be suitable are the machine-level infrastructures and image/audio/video processing. C and assembly languages are not replaceable by Groovy. In most other application fields, using Groovy can dramatically boost programmers' productivity and reduce programming errors.

I started off by simply renaming all .java files in my test packages to .groovy files. Worked. Then tried out it's closures and curry calls. For me there are a lot more to explore. Haskel fans will like Groovy. Smalltalk fans will like Groovy. Python fans will like Groovy. Lisp fans maybe too. Java folks? I for one, have already been conquered. If you program at all, by all means do yourself a favour and have a look at Groovy.

Groovy in Action is an excellent book on Groovy and programming. Get this book and get the insight, you'll be glad you do.

Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: Groovy In Action is an awesome Groovy book and reference.
Comment: For those of you who haven't heard of Groovy, Groovy is a scripting language that is built on top of Java. Since it is written on top of Java, a Java developer can pick up pick Groovy in a snap.

I first heard about Groovy In Action (also known as GINA) during a Groovy presentation almost a year ago, the presenter was referring to Groovy In Action as one of the best references out at the time, After reading GINA, I was not disappointed. The roadmap given at the beginning of the book is a great guide to see how the book is organized out. As an added bonus, the book includes some great reference information at the end of the book. It contains Groovy Language information, a GDK API quick reference, and several great cheat sheets for items such as closures, lists, etc.

The book is full of great examples that you can use (some of the examples illustrate some of the finer points of the language).

In fact someone recently asked about where to find a complete specification of the Groovy Language. Guillaume Laforge, Groovy Program Manager and co-author of Groovy In Action, responded that the most current information can be found in Groovy In Action (source user@groovy.codehaus.org mailing list 3/16/2008).

Groovy in Action is one of the Groovy books that is a must have for anyone looking to get into Groovy Development.


Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: awesome
Comment: 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. The author(s) respond very quickly. It is well worth the money. Order it now and you will be programming in Groovy very quickly.


 

Editorial Reviews:

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

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.


Buy it now at Amazon.com!