BUY THIS BOOK
Add to Cart

Print Book $34.95


Add to UK Cart

Print Book £21.99

What is this?

Groovy Recipes Greasing the Wheels of Java

By Scott Davis
First Edition  February 2008 
Publisher: Pragmatic Bookshelf
Pages: 250
ISBN 10: 0-9787392-9-9 | ISBN 13: 9780978739294
Press Release starstarstarstarstar (Average of 2 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

If you're a busy Java professional who needs quick solutions to everyday problems, then Groovy Recipes is for you. The Groovy language and Grails web framework give you seamless integration with your legacy Java code while adding the flexibility and dynamism of a scripting language and giving you modern, agile, time-saving techniques. Groovy allows you to write code the way you always thought you should -- you'll never look at Java the same way again.
Full Description

Each recipe in Groovy Recipes begins with a concise code example for a quick start, followed by in-depth explanation in plain English. These recipes will get you to-to-speed in a Groovy environment quickly.

You'll see how to speed up nearly every aspect of the development process using Groovy. Groovy makes mundane file management tasks like copying and renaming files trivial. Reading and writing XML has never been easier with XmlParsers and XmlBuilders. Breathe new life into Arrays, Maps, and Lists with a number of convenience methods. But Groovy does more than just ease traditional Java development: it brings modern programming features to the Java platform like closures, duck-typing, and metaprogramming.

As an added bonus, this book also covers Grails. You'll be amazed at how quickly you can have a first-class web application up and running from ground zero. Grails includes everything you need in a single zip file⎯a web server (Jetty), a database (HSQLDB), Spring, Hibernate, even a Groovy version of Ant called GANT. We cover everything from getting a basic website in place to advanced features that take you beyond HTML into the world of Web Services: REST, JSON, Atom, Podcasting, and much much more.

Browse within this book

Cover




Featured customer reviews

Write a Review


Great book for getting into Groovy,  May 23 2008
Rating: StarStarStarStarStar
Submitted by Paul Wiedel   [Respond | View]

Groovy Recipes is an excellent introductory book into Groovy programming.
The first few chapters give clear instructions for learning how to use Groovy. The remaining chapters give clear instructions for using some of Groovy's cool features: using Groovy with Java, Grails programming, metaprogramming, working with XML, File manipulation, and web services).
Much akin to the fun and energetic manner that Davis speaks in his presentations he writes Groovy Recipes.
If you haven't heard him speak(and even if you have), do a quick Google Video search for Scott Davis Groovy and you'll find a presentation or two of his. I recommend them.
One technique that I found especially useful is how Davis compared performing a simple task in the Java world, and then showed how it could be done in the Groovy world. Of course, it's easier in the groovy world for all the examples. It's nice to see areas where we can take advantage of Groovy's strengths.
Groovy Recipes has enough content to sit on an experienced Groovy developer's book shelf, but the more novice Groovy people will find more value in Groovy Recipes.


Great reference book,  April 28 2008
Rating: StarStarStarStarStar
Submitted by Anonymous Reader   [Respond | View]

For me, the best part of the whole book was Chapter 3: "New to Groovy". The "New to Groovy" chapter essential lists out all the Groovy answers to "why Java can be painful and how Groovy soothes". I liked the very short "here's how you do X in Groovy" format - and any Java developer immediately can see the benefits to adding Groovy to their development arsenal.

However, the part of the book that helped (more accurately, is helping) me get Groovy integrated into my projects at work is the information about "Java and Groovy Integration". The projects build on existing internal and external Java APIs; so the information here was very helpful in proving Groovy will not interfere with the current investment in Java.

This is definately put together as a reference book; flipping through the chapters and reading what looks interesting hasn't disappointed me yet.

Read all reviews


Media reviews
"This book really stands out in an extremely positive way and could be one of the best programming books I’ve read in quite a while."
-- JR Peck, Geek Book


"Computer libraries catering to busy Java professionals will find Groovy Recipes a winner, offering quick, at-a-glance solutions to everyday, common Java issues. Each 'recipe' begins with a quick-start code example followed by a clear and easy explanation. The idea is to get up to speed quickly, not become bogged down in theory and detail. Arrays, Maps, Grails and more applications receive quick, easy referencing under Scott Davis hand, making Groovy RecipesS a top pick for any Java library."
-- James Cox, California Bookwatch: The Computer Shelf



Read all reviews

Groovy Recipes
See larger cover


"This book really stands out in an extremely positive way and could be one of the best programming books I’ve read in quite a while."
--JR Peck, Geek Book