‹ Back To Training

Introduction to Groovy

Timeline: 3 Days

Topics

Expand All › ‹ Collapse All

  • Installing Groovy
  • Compiling Groovy
  • The Groovy Shell and Console
  • Creating your first Groovlet
  • Groovy and Java
  • Harnessing the power of Groovy
  • Groovy sytnax (Imports, semicolons, paranthesis, returns, etc)
  • Datatypes, Operator overloading, and Collections
  • Closures
  • GroovyBeans (or POGOs)
  • Autogeneration of getters and setters
  • Construtors, optional method parameters, etc.
  • Calling Java from Groovy and Groovy from Java
  • Groovy as a operating systems scripting language
  • Running uncompiled Groovy scripts
  • Working with command line arguments
  • Working with Files in Groovy
  • Groovy extensions to java.io
  • Creating archives
  • Integrating with ANT
  • 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
  • Review of network programming concepts, IP addresses, and DNS
  • Creating a RESTful web service client
  • Working with SOAP, XMLRPC, Atom and RSS feeds
  • Using Groovy to query databases
  • Exporting Database content using Groovy and XML
  • Object-rational database development
  • Review of JUnit and testing concepts
  • Integrating Groovy with JUnit
  • Determining code coverage with Cobertura
  • Working with Mock Objects