Groovy Training for Java Developers


Request an offer for delivery of this course

Course duration

Course Outline

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

  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

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).

InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)

For an overall view of our offerings, please visit us at