Book description
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.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.
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 Reader
Some experience with Java or another programming language is helpful. No Groovy experience is assumed.
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.
Quotes
A clear and detailed exposition of what is groovy about Groovy. I'm glad to have it on my bookshelf.
- From the Foreword to the First Edition, by James Gosling, Creator of Java
Groovy lies between light scripting and heavier enterprise languages—this book will help you master the sweet spot.
- Rick Wagner, Red Hat
The most valuable Groovy resource, written by the most valuable members of the Groovy community.
- Vladimir Orany, Metadata Consulting Ltd.
The long-awaited and excellent successor to the first edition.
- Dave McFarland, Instil Software Ltd.
Publisher resources
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Praise for the First Edition
- Foreword to the First Edition
- Preface
- Acknowledgments
- About this Book
- About the Authors
-
Part 1. The Groovy language
- Chapter 1. Your way to Groovy
- Chapter 2. Overture: Groovy basics
- Chapter 3. Simple Groovy datatypes
- Chapter 4. Collective Groovy datatypes
- Chapter 5. Working with closures
- Chapter 6. Groovy control structures
- Chapter 7. Object orientation, Groovy style
- Chapter 8. Dynamic programming with Groovy
- Chapter 9. Compile-time metaprogramming and AST transformations
- Chapter 10. Groovy as a static language
- Part 2. Around the Groovy library
- Part 3. Applied Groovy
- Appendix A. Installation and documentation
- Appendix B. Groovy language information
- Appendix C. GDK API quick reference
- Appendix D. Cheat sheets
- Appendix E. Annotation parameters
- Appendix F. Compiler phases
- Appendix G. AST visitors
- Appendix H. Type checking extensions
- Appendix I. Android support
- Appendix.
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Groovy in Action, Second Edition
- Author(s):
- Release date: June 2015
- Publisher(s): Manning Publications
- ISBN: 9781935182443
You might also like
book
Modern Java in Action
Manning's bestselling Java 8 book has been revised for Java 9 and 10! In Modern Java …
video
Groovy Programming Fundamentals
Learn the advantages of using Groovy by itself and with existing Java projects. This video workshop …
video
Practical Groovy Programming
Take your basic Groovy skills to the next level with this practical video workshop. Presenter and …
book
Spring in Action, Sixth Edition
If you need to learn Spring, look no further than this widely beloved and comprehensive guide! …