CHAPTER 2
Groovy Basics
Chapter 1 introduced you to Groovy, its relationship to Java, and where the two languages differ. This chapter will delve into the Groovy language. First, you will learn about Groovy scripts, including compiling and running Groovy scripts using the command Line, Groovy Shell, and Groovy Console. Then we will focus on specific aspects of the Groovy language: assertions, strings, regular expressions, collections, ranges, control structures, methods, closures, and operators.
Scripts
You will be using the Groovy language to build domain objects, controllers, and services. But that isn’t the only way to use Groovy. In addition ...
Get Beginning Groovy, Grails and Griffon now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.