Synopses & Reviews
Since its introduction a few years back, Groovy has grown from an upstart dynamic language for the JVM to become an integral part of any Java developer's toolbox. Projects like Grails and Griffon have extended Groovy's reach into the web and desktop app world.
Groovy in Action, Second Edition is a thoroughly-revised, comprehensive guide to Groovy programming, introducing Groovy by example and presenting lots of reusable code. It introduces Java developers to the dynamic features that Groovy provides, and shows them how to apply Groovy to a range of tasks including building new apps, integration with existing code, and DSL development.
Purchase of the print book comes with an offer of a free PDF eBook from Manning. Also available is all code from the book.
Synopsis
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 Konig,
Paul King,
Guillaume Laforge,
Hamlet D'Arcy,
Cedric 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- Your way to Groovy
- Overture: Groovy basics
- Simple Groovy datatypes
- Collective Groovy datatypes
- Working with closures
- Groovy control structures
- Object orientation, Groovy style
- Dynamic programming with Groovy
- Compile-time metaprogramming and AST transformations
- Groovy as a static language
PART 2 AROUND THE GROOVY LIBRARY- Working with builders
- Working with the GDK
- Database programming with Groovy
- Working with XML and JSON
- Interacting with Web Services
- Integrating Groovy
PART 3 APPLIED GROOVY- Unit testing with Groovy
- Concurrent Groovy with GPars
- Domain-specific languages
- The Groovy ecosystem
"
About the Author
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.
Guillaume Laforge is the official Groovy Project Manager and Head of Groovy Development at SpringSource. He founded G2One, Inc. (later acquired by SpringSource), a professional services company dedicated to sustaining and leading the development of both Groovy and Grails.
Dr. Paul King leads ASERT, an organization based in Brisbane, Australia which provides software development, training, and mentoring services to customers wanting to embrace new technologies, harness best practices and innovate.
Cédric Champeau is a core Groovy committer. He joined SpringSource, by Pivotal, in order to help develope the language and he is responsible for the implementation of static type checking and static compilation in Groovy 2.
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.
Erik Pragt is a passionate software developer with a broad range of experience in static languages like Java, and dynamic languages like Groovy. Having worked as a consultant for a broad range of customers mostly in the Telecom, ISP, and banking sector, Erik is now an independent freelance consultant. He founded of the Dutch Groovy and Grails user group, and is a regular conference speaker and trainer.
Jon Skeet is a Java developer working for Google in London. He is a C# author and community leader, spending far too much time on the Stack Overflow developer Q&A site.