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.
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 ...