Skip to main content
  • Book
  • © 2019

Learning Groovy 3

Java-Based Dynamic Scripting

Apress

Authors:

  • A unique accelerated tutorial on learning Groovy
  • Offers a quick tutorial for those new to Groovy
  • Written by a long-time expert in Java
  • 11k Accesses

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

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-xix
  2. Getting Groovy

    1. Front Matter

      Pages 1-1
    2. Software to Install

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

      • Adam L. Davis
      Pages 7-25
    4. Tools

      • Adam L. Davis
      Pages 27-30
    5. GDK

      • Adam L. Davis
      Pages 31-41
    6. Coming from Java

      • Adam L. Davis
      Pages 43-50
  3. Advanced Groovy

    1. Front Matter

      Pages 51-51
    2. Groovy Design Patterns

      • Adam L. Davis
      Pages 53-59
    3. DSLs

      • Adam L. Davis
      Pages 61-71
    4. Traits

      • Adam L. Davis
      Pages 73-75
    5. Functional Programming

      • Adam L. Davis
      Pages 77-90
    6. Groovy GPars

      • Adam L. Davis
      Pages 91-95
  4. The Groovy Ecosystem

    1. Front Matter

      Pages 97-97
    2. Groovy Awesomeness

      • Adam L. Davis
      Pages 99-103
    3. Gradle

      • Adam L. Davis
      Pages 105-114
    4. Grails

      • Adam L. Davis
      Pages 115-130
    5. Spock

      • Adam L. Davis
      Pages 131-135
    6. Ratpack

      • Adam L. Davis
      Pages 137-154
  5. Back Matter

    Pages 155-159

About this book

Start building powerful apps that take advantage of the dynamic scripting capabilities of the Groovy language, including what's new in Groovy version 3.0. 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.

Also, Learning Groovy 3 has been updated to Groovy 3.0 to include the new Parrot parser which was extended to support additional syntax options and language features. It also includes coverage of Groovydoc, which allows you to embed Groovydoc comments in various ways.  And, this book covers how Groovy supports Java type annotations and more.

There is more to Groovy than the core language, so Learning Groovy 3, Second Edition 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 Will Learn

  • Grasp Groovy fundamentals, including the GDK 
  • 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

Those with a Java background, though anyone with basic programming skills can 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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access