Course Overview

This course introduces the Java developer to the Groovy language.  The course focuses on understanding the internals of how Groovy works in addition to understanding the Groovy language syntax.  After taking this course developers will understand the Groovy syntax and be able to leverage existing Java classes within Groovy.

The course then focuses on understanding the internals of how Grails works in addition to understanding the components and architecture of the framework.  After taking this course developers will understand the Grails framework and how it increases productivity.

Key Learning Areas

  • Write applications using Groovy.
  • Understand how Groovy operates within the Java Virtual Machine.
  • Incorporate existing Java classes and libraries within Groovy applications.
  • Learn to add new methods and member variable to existing Java or Groovy classes dynamically.
  • Understand the role of Closures within Groovy.
  • Take advantage of Groovy’s simplified object configuration syntax.
  • Learn how to override operators for Groovy or Java classes
  • Understand the concept of Metaprogramming and how to leverage it to simplify application development.
  • Explore Groovy’s Regular Expression syntax for easily managing String processing
  • Write applications using Grails.
  • Understand how Grails operates within the context of Java, Spring, Hibernate, and other technologies.
  • Configure and run Grails applications.
  • Learn to add new views and controllers.
  • Take advantage of domain modeling and validators.
  • Learn how to work with controllers, data scopes, GSP, and filters
  • Install and use plugins

Course Outline

  • Language Overview
  • Basic Syntax and Scalar Variables
  • Collections
  • Flow Control
  • Classes
  • Advanced Classes and Closures
  • AST Transformations
  • Regular Expressions
  • Builders and Slurpers
  • Grails Installation and Overview
  • Creating a Simple Grails Application
  • The Domain
  • Controllers
  • GSP Basics
  • Filters
  • Plun-ins and Simple Web 2.0 Applications

Who Benefits

This an intermediate-level Groovy training course, designed for developers who need to understand how and when to use Groovy in Java and JEE applications.  Attendees should have practical basic Java development experience.

This class combines lecture with a unifying, hands-on experience, and open discussion that will help the developer quickly understand the benefits of Grails and how to use the framework.


Students should have basic development skills and a working knowledge core Java programming fundamentals.