Skip to Main Content
Published by Manning
Distributed by Simon & Schuster

About The Book

Summary

Groovy in Action, Second Edition is a thoroughly revised, comprehensive guide to Groovy programming. It introduces Java developers to the dynamic features that Groovy provides, and shows how to apply Groovy to a range of tasks including building new apps, integration with existing code, and DSL development. Covers Groovy 2.4.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

In the last ten years, Groovy has become an integral part of a Java developer's toolbox. Its comfortable, common-sense design, seamless integration with Java, and rich ecosystem that includes the Grails web framework, the Gradle build system, and Spock testing platform have created a large Groovy community

About the Book

Groovy in Action, Second Edition is the undisputed definitive reference on the Groovy language. Written by core members of the Groovy language team, this book presents Groovy like no other can—from the inside out. With relevant examples, careful explanations of Groovy's key concepts and features, and insightful coverage of how to use Groovy in-production tasks, including building new applications, integration with existing code, and DSL development, this is the only book you'll need. Updated for Groovy 2.4.

Some experience with Java or another programming language is helpful. No Groovy experience is assumed.

What's Inside
  • Comprehensive coverage of Groovy 2.4 including language features, libraries, and AST transformations
  • Dynamic, static, and extensible typing
  • Concurrency: actors, data parallelism, and dataflow
  • Applying Groovy: Java integration, XML, SQL, testing, and domain-specific language support
  • Hundreds of reusable examples

About the Authors
Authors Dierk König, Paul King, Guillaume Laforge, Hamlet D'Arcy, Cédric Champeau, Erik Pragt, and Jon Skeet are intimately involved in the creation and ongoing development of the Groovy language and its ecosystem.
Table of Contents
    PART 1 THE GROOVY LANGUAGE
  1. Your way to Groovy
  2. Overture: Groovy basics
  3. Simple Groovy datatypes
  4. Collective Groovy datatypes
  5. Working with closures
  6. Groovy control structures
  7. Object orientation, Groovy style
  8. Dynamic programming with Groovy
  9. Compile-time metaprogramming and AST transformations
  10. Groovy as a static language
  11. PART 2 AROUND THE GROOVY LIBRARY
  12. Working with builders
  13. Working with the GDK
  14. Database programming with Groovy
  15. Working with XML and JSON
  16. Interacting with Web Services
  17. Integrating Groovy
  18. PART 3 APPLIED GROOVY
  19. Unit testing with Groovy
  20. Concurrent Groovy with GPars
  21. Domain-specific languages
  22. The Groovy ecosystem

About The Authors

Dierk König is a senior software developer, mentor and coach. He publishes in leading German magazines on software development and speaks at international conferences.

Hamlet D'Arcy is the founder of the Basel-based Hackergarten open source coding group, and regularly participates and speaks at local and international user groups and conferences.

Dr. Paul King is Managing Director and Principal Consultant for ASERT, an Australian company specializing in helping its customers leverage emerging technologies. He has provided technical and strategic consulting to hundreds of organizations throu

Product Details

  • Publisher: Manning (June 3, 2015)
  • Length: 912 pages
  • ISBN13: 9781638352877

Browse Related Books

Resources and Downloads

High Resolution Images