Chapter 8. Groovy: Java’s dynamic friend

This chapter covers

  • Why you should learn Groovy
  • Basic Groovy syntax
  • Differences between Groovy and Java
  • Powerful Groovy features not found in Java
  • How Groovy is also a scripting language
  • Groovy interoperability with Java

Groovy is an OO, dynamically typed language that, like Java, runs on the JVM. In fact, it can be seen as a language that provides dynamic capabilities to complement the static world of Java. The Groovy project was initially founded by James Strachan and Bob McWhirter in late 2003, with its leadership changed to Guillaume Laforge in 2004. The community based at http://groovy.codehaus.org/ continues to thrive and grow today. Groovy is seen as the most popular language on the JVM ...

Get The Well-Grounded Java Developer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.