Consulting Training Blog Careers About Us Contact Us

Groovy for Java Developers Training

Upcoming Classes

Sorry, nothing scheduled right now. Click the Get Notified button below to be alerted when a class is scheduled.

Get Notified

On Site/Private

Can't find a class that fits right for you? Contact us to inquire about scheduling your own private class

Contact Us

Description

Intertech Offers Complete Grails Training

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


 

Bring This Course To You

For groups of 5 or more, let Intertech bring this course to your location. Customized versions tailored towards your objectives are also available.

Learn More

Learning Objectives

  • Understand how dynamic languages differ from languages like Java or C#
  • Work with Groovy closures
  • Use Groovy control structures
  • Build object-oriented programs in Groovy
  • Use Groovy builders to reduce complexity
  • Access databases using Groovy
  • Process XML files in Groovy
  • Write unit tests in Groovy
  • Access Java classes from Groovy, and vice versa
  • Build a simple web application using Grails
  • Work with Groovy strings, closures, and collections
  • Develop model-view-controller web applications using Grails
  • Access relational databases from Grails
  • Build unit and functional tests for web applications
  • Select Grails plugins to add functionality¬†

Prerequisites

All attendees should have a working knowledge of Java.

Course Outline

Groovy Fundamentals

  • Differences between Groovy and Java
  • Compiling and executing Groovy programs
  • The basic Groovy data types and optional typing
  • Writing Groovy scripts
  • Declaring classes
  • Overriding operators and type coercion
  • GDK: the Groovy library
  • Groovy strings
  • Regular expressions in Groovy

Groovy Collections

  • Ranges
  • Lists
  • Maps
  • Iterators and polymorphic algorithms

Closures in Groovy

  • Declaring closures
  • Available options for calling closures

Groovy Control Structures

  • The "Groovy truth"
  • Conditional execution
  • Looping constructs

Using Classes and Scripts

  • Groovy fields and local variables
  • Methods and operations
  • Safe dereferencing with the ?. operator
  • Organizing classes in packages
  • Using inheritance
  • POGO's vs. POJO's

Unit Testing in Groovy

  • GroovyTestCase
  • Unit-testing Groovy code
  • Unit-testing Java code
  • Code coverage and automation

Groovy Builders

  • NodeBuilder
  • MarkupBuilder
  • SwingBuilder

Survey of the GDK

  • Simplified File access
  • Templates
  • Groovlets

Database Access with Groovy

  • Basic database operations
  • DataSet operations
  • Groovy and ORM solutions

Working with XML

  • Reading and parsing XML documents
  • Using XPath expressions
  • Distributed processing with XML

Simple Metaprogramming

  • Metaclasses
  • Injecting methods with Categories
  • The Expando metaclass

Web Development with Grails

  • The Grails framework
  • Creating web applications using Grails

Free Resources from Intertech

Complete Guide to Becoming a Full Stack Developer

Free Book Chapter: Spring Web

Introduction to Groovy Whitepaper

X