Adam L. Davis
Learning Groovy 3Java-Based Dynamic Scripting2nd ed.
Adam L. Davis
New York, NY, USA
ISBN 978-1-4842-5057-0e-ISBN 978-1-4842-5058-7
© Adam L. Davis 2019
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail [email protected], or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

To my parents, to whom I owe everything in ways large and small.

To my children, who mean the world to me.

To my wife, for putting up with me and supporting me.

About This Book

This book is organized into several chapters, starting from the most basic concepts. If you already understand a concept, you can safely move ahead to the next chapter. Although this book concentrates on Groovy, it also refers to other languages, such as Java, Scala, and JavaScript.

As the title suggests, this book is about learning Groovy but will also cover related technology, such as build tools and web frameworks.

Assumptions

This book assumes the reader already is familiar with Java syntax and basic programming ideas.

Icons

../images/426440_2_En_BookFrontmatter_Figd_HTML.gif Tips

If you see text stylized like this, it is extra information that you might find helpful.

../images/426440_2_En_BookFrontmatter_Fige_HTML.gif Info

Text stylized this way is usually a reference to additional information for the curious reader.

../images/426440_2_En_BookFrontmatter_Figf_HTML.gif Warnings

Text like this is caution for the wary reader—many have fallen on the path of computer programming.

../images/426440_2_En_BookFrontmatter_Figg_HTML.gif Exercises

This is an exercise. We learn by doing. These are highly recommended.

Acknowledgments

Thank you to the following people without whom this book would not have been possible: my wife, for putting up with me working on yet another book; my editors, for all of the much needed editing; and my technical reviewer, Manual Jordan Elera, for doing the vital work of making sure everything in this book is accurate. Thank you to all of the developers behind Groovy and related projects written about in this book: Paul King, Cédric Champeau, Daniel Sun, and the rest of the Groovy team; Peter Niederwieser, the creator of Spock; Luke Daley and the rest of the contributors behind Ratpack; Adam Murdoch, and the rest of the developers behind Gradle; Graeme Rocher and the rest of the team behind Grails and Micronaut; and anyone else I’ve left out. Without these great tools and frameworks (and the openness, helpfulness, and friendliness of the community), programming would be much less enjoyable.

Table of Contents

Index 155

About the Author and About the Technical Reviewer

About the Author

Adam L. Davis
../images/426440_2_En_BookFrontmatter_Figb_HTML.jpg
makes software. He has 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 contracts and finances for large institutions (among other things) at The Solution Design Group, Inc. Adam has a master’s and a bachelor’s degree in Computer Science from Georgia Tech. He attends many conferences, has authored several books, and sometimes speaks at conferences and his local Java User Group.

You can find out more at his web site: www.adamldavis.com .

He currently resides in Central Florida with his wife, two small children, and their dog.

 

About the Technical Reviewer

Manuel Jordan Elera
../images/426440_2_En_BookFrontmatter_Figc_HTML.jpg

is an autodidactic developer and researcher who enjoys learning new technologies for his own experiments and creating new integrations.

Manuel won the 2010 Springy Award—Community Champion and Spring Champion 2013. In his little free time, he reads the Bible and composes music on his guitar. Manuel is known as dr_pompeii . He has tech-reviewed numerous books for Apress, including Pro Spring, Fourth Edition (2014), Practical Spring LDAP (2013), Pro JPA 2, Second Edition (2013), and Pro Spring Security (2013).

Read his 13 detailed tutorials about many Spring technologies, contact him through his blog at www.manueljordanelera.blogspot.com , and follow him on his Twitter account @dr_pompeii .

 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset