English French German Italian Portuguese Russian Spanish


  • Programming Training

    business_appsInterSource offers live instructor-led courses on all important programming technologies, including C#, C/C#, PHP and Visual Basic. We can also arrange training on many less-known but highly useful languages. We can teach courses on a variety of additional topics; please request an offer if you need a course which is not indicated on the site.

    These live classes are offered both on client sites, at our Geneva training center, and via a Web interface.

  • About Programming

    Within software engineering, programming (the implementation) is regarded as one phase in a software development process, normally following closely on the heels of the requirements gathering phase.

    Computer programming (often shortened to programming or coding) is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language. The code may be a modification of an existing source or something completely new. The purpose of programming is to create a program that exhibits a certain desired behavior (customization). The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.

    Read More
  • Course Details Programming

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Groovy Training for Java Developers

 PDF PrintEmail

Course duration

  • 4 Days

Course Outline

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

  • 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.
  • Good knowledge of Java techniques, including the Collections framework and JDBC
  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 www.intersource.ch.