Skip to main content
  • Book
  • © 2016

Learning Groovy

Apress

Authors:

  • Unique short accelerated book on learning Groovy, a Java-based scripting language
  • A quick tutorial for those new to Groovy but not sure to invest a lot of time or money into it
  • Written by a long time expert in Java

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (15 chapters)

  1. Front Matter

    Pages i-xxi
  2. Getting Groovy

    1. Front Matter

      Pages 1-1
    2. Software to Install

      • Adam L. Davis
      Pages 3-4
    3. Groovy 101

      • Adam L. Davis
      Pages 5-14
    4. Tools

      • Adam L. Davis
      Pages 15-16
    5. GDK

      • Adam L. Davis
      Pages 17-22
    6. Coming from Java

      • Adam L. Davis
      Pages 23-27
  3. Advanced Groovy

    1. Front Matter

      Pages 29-29
    2. Groovy Design Patterns

      • Adam L. Davis
      Pages 31-34
    3. DSLs

      • Adam L. Davis
      Pages 35-39
    4. Traits

      • Adam L. Davis
      Pages 41-43
    5. Functional Programming

      • Adam L. Davis
      Pages 45-54
    6. Groovy GPars

      • Adam L. Davis
      Pages 55-57
  4. The Groovy Ecosystem

    1. Front Matter

      Pages 59-59
    2. Groovy Awesomeness

      • Adam L. Davis
      Pages 61-64
    3. Gradle

      • Adam L. Davis
      Pages 65-70
    4. Grails

      • Adam L. Davis
      Pages 71-78
    5. Spock

      • Adam L. Davis
      Pages 79-82
    6. Ratpack

      • Adam L. Davis
      Pages 83-94
  5. Back Matter

    Pages 95-102

About this book

Start building powerful apps that take advantage of the dynamic scripting capabilities of the Groovy language. This book covers Groovy fundamentals, such as installing Groovy, using Groovy tools, and working with the Groovy Development Kit (GDK). You'll also learn more advanced aspects of Groovy, such as using Groovy design patterns, writing DSLs in Groovy, and taking advantage of Groovy's functional programming features.

There is more to Groovy than the core language, so Learning Groovy covers the extended Groovy ecosystem. You'll see how to harness Gradle (Groovy's build system), Grails (Groovy's web application framework), Spock (Groovy's testing framework), and Ratpack (Groovy's reactive web library).


What You'll Learn
  • Grasp Groovy fundamentals, including the GDK or Groovy Development Kit
  • Master advanced Groovy, such as writing Groovy DSLs
  • Discover functional programming in Groovy
  • Work with GPars, the built-in concurrency library
  • Use Gradle, the build system
  • Master Grails, the web application framework
  • Work with Spock, the testing framework
  • Harness Ratpack, the reactive web library

Who This Book Is For


Although this book is intended for those with a Java background, anyone with basic programming skills could benefit from it. This book is a data-filled, yet easy-to-digest tour of the Groovy language and ecosystem. 

Authors and Affiliations

  • New York, USA

    Adam L. Davis

About the author

Adam L. Davis makes software. He's spent many years developing in Java (since Java 1.2) and has enjoyed using Spring and Hibernate. Since 2006 he's been using Groovy and Grails in addition to Java to create SaaS web applications that help track finances for large institutions (among other things). Adam has a Masters and a Bachelors degree in Computer Science from Georgia Tech.


Bibliographic Information

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access