Introduction to Groovy

Groovy Training

The Introduction to Groovy training course examines how Groovy seamlessly integrates with existing Java code, and extends familiar classes like Strings, Lists, and Maps in a powerful yet natural way. Throughout the Introduction to Groovy training you will learn about the File I/O, XML manipulation, database integration, and networking capabilities of Groovy that dramatically reduce the amount of code that you need to write.

Course Summary

Learn how to use the Groovy Scripting Language.
Java developers wanting to adopt Grails needing a deeper understanding of Groovy.
Skill Level: 
Learning Style: 

Hands-on training is customized, instructor-led training with an in-depth presentation of a technology and its concepts, featuring such topics as Java, OOAD, and Open Source.

Hands On help
3 Days
Productivity Objectives: 
  • Describe the significance of Groovy over other scripting languages
  • Setup and configure the Groovy environment
  • Write a simple Groovy “Hello World” application
  • Use Groovy as an alternative to typical System Administration scripting languages
  • Perform File processing with Groovy
  • Test your Groovy scripts with JUnit
Introduction to Groovy is part of the Spring Source Training curriculum.

What You'll Learn

In the Introduction to Groovy training course you’ll learn:
Day One – Introduction to Groovy

  • Getting Started with Groovy
    • Installing Groovy
    • Compiling Groovy
    • The Groovy Shell and Console
    • Creating your first Groovlet
  • New to Groovy
    • Groovy and Java
    • Harnessing the power of Groovy
    • Groovy sytnax (Imports, semicolons, paranthesis, returns, etc)
    • Datatypes, Operator overloading, and Collections
    • Closures
  • Java and Groovy Integration
    • GroovyBeans (or POGOs)
    • Autogeneration of getters and setters
    • Construtors, optional method parameters, etc.
    • Calling Java from Groovy and Groovy from Java

Day Two – Groovy as a Scripting Language

  • Groovy from the Command-line
    • Groovy as a operating systems scripting language
    • Running uncompiled Groovy scripts
    • Working with command line arguments
  • File I/O
    • Working with Files in Groovy
    • Groovy extensions to
    • Creating archives
    • Integrating with ANT
  • Working with XML
    • Review of XML concepts
    • Consuming XML
    • Parsing XML with XmlParser
    • Slurping XML with XmlSlurper
    • Generating XML
    • Generating XML with MarkupBuilder
    • Generating XML with StreamingMarkupBuilder
    • Writing XML to a file

Day Three – Working with Groovy

  • Network and Web Services Programming with Groovy
    • Review of network programming concepts, IP addresses, and DNS
    • Creating a RESTful web service client
    • Working with SOAP, XML-RPC, Atom and RSS feeds
  • Database Development
    • Using Groovy to query databases
    • Exporting Database content using Groovy and XML
    • Object-rational database development
  • Testing
    • Review of JUnit and testing concepts
    • Integrating Groovy with JUnit
    • Determining code coverage with Cobertura
    • Working with Mock Objects

Contact us to learn more

Not all training courses are created equal. Let the customization process begin! We'll work with you to design a custom Introduction to Groovy training course that meets your specific needs.

DevelopIntelligence has been in the technical/software development learning and training industry for nearly 20 years. We’ve provided learning solutions to more than 48,000 engineers, across 220 organizations worldwide.

About Develop Intelligence
Di Clients


Need help finding the right learning solution?   Call us: 877-629-5631