Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
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.

Groovy Recipes: Greasing the Wheels of Java (Pragmatic Programmers) [Paperback]

Scott Davis
4.0 out of 5 stars  See all reviews (3 customer reviews)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details. Learn more.

Book Description

25 Feb 2008 Pragmatic Programmers

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.



Product details

  • Paperback: 250 pages
  • Publisher: Pragmatic Bookshelf; 1 edition (25 Feb 2008)
  • Language: English
  • ISBN-10: 0978739299
  • ISBN-13: 978-0978739294
  • Product Dimensions: 19 x 2 x 22.8 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: 919,599 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Scott Davis is the Editor in Chief of aboutGroovy.com. He is also an author and independent consultant. He is passionate about open source solutions and agile development. He has worked on a variety of Java platforms, from JEE to JSE to JME (sometimes all on the same project). He is the co-author of JBoss At Work (O'Reilly), and author of Google Maps API (Pragmatic Bookshelf) and GIS for Web Developers: Adding Where to Your Web Applications (Pragmatic Bookshelf).


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

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4 star
0
3 star
0
1 star
0
4.0 out of 5 stars
4.0 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
Format:Paperback
Having already seen many of his videocasts after listening to the Grailspodcast, I consider Scott to be a like a Vincent Van Gogh of the tech world. A Master.
I've read Groovy in Action, a more in depth reference (Groovy in Action 2 will be out later this year too) and Programming Groovy, both fantastic Groovy books.
But I actually like this one the best. It's definitely the book I'd turn to first when I need an example to jog my memory. Worthy of the pragmatic badge as always.
It's an awesome read. Great if you want to learn Groovy in a hurry and like learning from examples. The book distills things into more clear, concise memorable chunks.
It's well cross-referenced and the format make it easy to read in a non-linear fashion if you want to.

The book consists of twelve chapters:
--1 Introduction
--2 Getting Started: Installing & Running Groovy, Groovy Shell/Console, IDE support. There is good advice on Mac/Unix/Windows installs.
--- The book only covers binary rather than source versions. It advises the use symlinks for Unix & derivatives, which is best way to go.
--3 New to Groovy: covers syntax - bringing the Java developer up to speed
--4 Java and Groovy Integration - includes good discussion on joint compilation
--5 Groovy from the command line - This is a superb chapter - material not covered in a lot of the books.
--6 File Tricks - Listing Files/Directories, Writing to files, Moving, Renaming files, AntBuilder etc
--7 Parsing XML : XMLParser, XML Slurper comparison
--8 Writing XML : MarkupBuilder & StreamingMarkupBuilder
--9 WebServices : Another fantastic chapter : Takes you through HTTP, SOAP, REST, XML-RPC, Atom/RSS, Parsing search engine results as XML
-10 Metaprogramming : Really good chapter. Good for getting your head around Categories, Expandos & ExpandoMetaClass (Venkat's book goes into more detail here - but this is a good second)
-11 Working with Grails : A whirlwind tour of Grails. - A similar approach was taken in Groovy in Action at the end..
--- Scott informed me he is actually working on a second edition of a Grails PDF book with Jason Rudolph for InfoQ too that is in the finals stages of production. So expect this to be another great resource.
-12 Grails & Web Services : Returning XML, JSON, Excel. Setting up RSS (for podcasts) & Atom Feeds - Pretty good. But worst chapter of book for me. Didn't like the way some of the code was laid out.
--- I prefer to see the whole thing at once, not snippets with bits missing, then incrementally expanded later.

There are a few errors:
-P42 A size that should have returned 4 not 5 as a result.
-P79 Space missing between words.
P107 Space missing between words.
P215 Mentions customising scaffolding to facilitate adding a timestamp to a record in Grails - which Grails automatically does by adding a couple of appropriately named properties. Google on "Grails GORM Events".
P224 Graeme Rocher confirmed Grails now supports M-M relationships in the scaffolding. Mike Kimsal, the guy behind Groovymag blogged about a solution a while back too.
P236 There is a paragraph repeated twice.

Scott also writes for IBM Developerworks (Practically Groovy & Mastering Grails series).
Comment | 
Was this review helpful to you?
1 of 2 people found the following review helpful
2.0 out of 5 stars A rehash of the Groovy website 22 May 2008
Format:Paperback
This book is readable. However, it doesn't cover any content beyond that presented on the Groovy website (http://groovy.codehaus.org/Documentation) - it has just been rewritten into a "The Perl Cookbook" style. This isn't really the right approach in my opinion (excepting the obvious fact that the information is free on the web) for a book about a language covering concepts such as closures that will be new to some programmers - this needs real examples, not toy one liners so show the benefits of reuse. I haven't read "Groovy in Action" but if "Spring in Action" is the benchmark for that series I would choose that every time over this book. Think carefully.
Comment | 
Was this review helpful to you?
1 of 3 people found the following review helpful
5.0 out of 5 stars Excellent Resource 6 Mar 2008
Format:Paperback
This book needs to be next to your keyboard if you are writing Groovy programs
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Feedback