Publisher: Open

Version: Programming
Length: 2 day s
Course-ID: INC645

Course Overview

The course, designed for existing Java programmers, covers Groovy Programming to a professional standard. Beginning with basic scripts, we move through to full object-oriented programming. Full practical sessions cover how to do regular jobs in Groovy such as file handling and XML processing, and we also go into depth on the advanced Groovy topics such as Metaprogramming, Functional Programming and Testing.

Objectives

By the end of the course delegates will:

  • Be able to write professional standard, idiomatic Groovy programs
  • Be experienced at writing classes
  • Know the major differences between Groovy and Java
  • Understand how Groovy relates to Java and the JVM
  • Be able to interoperate with Java code
  • Have used the Groovy plug ins for their favourite IDE

Prerequisites

A knowledge of regular Java is required for this course.


Each theory session is followed by a practical session:
  • Groovy Fundamentals
  • Groovy Object Orientation
  • Collections and Closures
  • Regular Expressions
  • XML and File Handling
  • Groovy Builders for XML, Build Scripts and Swing GUIs
  • Accessing the Database
  • Unit Testing
  • Stubs, Mocks and Expandos
  • Metaprogramming