O'Reilly logo

Beginning Groovy, Grails and Griffon by Jim Shingler, Joseph Faisal Nusairat, Christopher M. Judd, Vishal Layka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 2

image

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required