Chapter 1 introduced you to Groovy, its relationship to Java, and where it differs. This chapter will delve into the Groovy language. The focus will be on language features commonly used to build Grails applications. 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, methods, closures, collections, ranges, regular expressions, and operators.


Regular Expression Phone Number Command Line Match Operator User Object 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Christopher M. Judd, Joseph Faisal Nusairat, James Shingler 2008

Personalised recommendations