Groovy in Action
  1. 912 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

About this 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

  • 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

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Praise for the First Edition
  5. Foreword to the First Edition
  6. Preface
  7. Acknowledgments
  8. About this Book
  9. About the Authors
  10. Part 1. The Groovy language
  11. Part 2. Around the Groovy library
  12. Part 3. Applied Groovy
  13. Appendix A. Installation and documentation
  14. Appendix B. Groovy language information
  15. Appendix C. GDK API quick reference
  16. Appendix D. Cheat sheets
  17. Appendix E. Annotation parameters
  18. Appendix F. Compiler phases
  19. Appendix G. AST visitors
  20. Appendix H. Type checking extensions
  21. Appendix I. Android support
  22. Appendix.
  23. Index
  24. List of Figures
  25. List of Tables
  26. List of Listings

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Groovy in Action by Cédric Champeau,Dierk Koenig,Hamlet D'Arcy,Paul King in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.