The teacher explained things well and, when I asked questions beyond the immediate scope of the course content,... More Testimonials »

Groovy Training for Java Developers

Delivery Options

Upcoming Live eLearning Classes

There are currently no upcoming Live eLearning classes. Please contact us if you would like us to schedule a class.

Class Description

Class Overview

This Groovy training course teaches experienced Java developers how to write programs in Groovy that simplify, enhance, and expand their existing systems.

Class Goals

  • Understand how dynamic languages differ from languages like Java or C#.
  • Learn to work with Groovy closures.
  • Learn to use Groovy control structures.
  • Learn to build object-oriented programs in Groovy.
  • Learn to use Groovy builders to reduce complexity.
  • Learn to access databases using Groovy.
  • Learn to process XML files in Groovy.
  • Learn to write unit tests in Groovy.
  • Learn to access Java classes from Groovy, and vice versa.
  • Learn to build a simple web application using Grails.

Class Outline

  1. Groovy Fundamentals
    1. Differences between Groovy and Java
    2. Compiling and executing Groovy programs
    3. The basic Groovy data types and optional typing
    4. Writing Groovy scripts
    5. Declaring classes
    6. Overriding operators and type coercion
    7. GDK: the Groovy library
    8. Groovy strings
    9. Regular expressions in Groovy
  2. Groovy Collections
    1. Ranges
    2. Lists
    3. Maps
    4. Iterators and polymorphic algorithms
  3. Closures in Groovy
    1. Declaring closures
    2. Available options for calling closures
  4. Groovy Control Structures
    1. The "Groovy truth"
    2. Conditional execution
    3. Looping constructs
  5. Using Classes and Scripts
    1. Groovy fields and local variables
    2. Methods and operations
    3. Safe dereferencing with the ?. operator
    4. Organizing classes in packages
    5. Using inheritance
    6. Working with GroovyBeans
    7. Injecting methods with Categories
    8. A bit about the Expando metaclass
  6. Groovy Builders
    1. NodeBuilder
    2. MarkupBuilder
    3. SwingBuilder
  7. Survey of the GDK
    1. Simplified File access
    2. Templates
    3. Groovlets
  8. Database Access with Groovy
    1. Basic database operations
    2. DataSet operations
    3. Groovy and ORM solutions
  9. Working with XML
    1. Reading and parsing XML documents
    2. Using XPath expressions
    3. Distributed processing with XML
  10. Unit Testing in Groovy
    1. GroovyTestCase
    2. Unit-testing Groovy code
    3. Unit-testing Java code
    4. Code coverage and automation
  11. Web Development with Grails
    1. The Grails framework
    2. Creating web applications using Grails

Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following areas is required:

  • Good knowledge of Java techniques, including the Collections framework and JDBC

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.


  • Java ®, all Java-based marks, Hibernate ®, and all Hibernate-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries.
Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Locations
Watch 3-minute Demo Video
of Live Online Training:
Learn the benefits of online training with Webucator

Free Webinars

A Crash Course in CSS

Wed, 3/21 1:00 PM EST

Project Management Institute Partner

Webucator is a Registered Education Provider (R.E.P.) approved by PMI to issue professional development units (PDUs) for our training courses.

© Webucator, Inc. All rights reserved. | Toll Free: 1-877-932-8228 | From outside the USA: 315-849-2724| Fax: 315-849-2723