Groovy Recipes: Greasing the Wheels of Java


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.

Table of Contents
Chapter 1. Preface
Chapter 2. Introduction
Chapter 3. Getting Started
Chapter 4. New to Groovy
Chapter 5. Java and Groovy Integration
Chapter 6. Groovy from the Command Line
Chapter 7. File Tricks
Chapter 8. Parsing XML
Chapter 9. Writing XML
Chapter 10. Web Services
Chapter 11. Metaprogramming
Chapter 12. Working with Grails
Chapter 13. Grails and Web Services

Book Details

  • Paperback: 250 pages
  • Publisher: Pragmatic Bookshelf (January 2008)
  • Language: English
  • ISBN-10: 0978739299
  • ISBN-13: 978-0978739294
Download [6.0 MiB]

You may also like...

Leave a Reply