Develop Intelligence
Advanced Groovy
Teach how to use Groovy in a Java environment.

The Advanced 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.

After this course, you will be able to:

  • Review the fundamental principles of basic Groovy principles
  • Understand the importance of Mopping and MetaProgramming
  • List and describe multiple methodologies within XML
  • Understand Groovy as it pertains to Databases
  • Conceptualize on testing around Groovy
This course will be delivered in 2 Days

DI will work with you and your team to define the most appropriate delivery structure, schedule and dates. Structure, schedule and dates will be determined by project schedule, team availability and classroom availability. And of course, it will also be determined by DI’s instructor availability.

In the Advanced Groovy training course you’ll learn:
Day 1

  • Quick Groovy Review

    • Basic Types

    • Types

    • Operator Methods

    • Strings, Groovy Strings

    • Decorating Collections

    • Setting up a Projects in Gradle

    • Getting Gradle Projects on Eclipse

    • Getting Gradle Projects on IDEA

  • Mopping and MetaProgramming

    • Groovy Objects

    • Querying Methods

    • Interceptions

    • Categories

    • ExpandoMetaClasses

    • Mixins

    • Dynamic Classes and Objects

    • Compile Time Programming Metaprogramming


Day 2

  • Working with XML

    • Review of XML concepts

    • Parsing XML with XmlParser

    • Slurping XML with XmlSlurper

    • GPath vs. XPath

    • Generating XML

    • Generating XML with MarkupBuilder

    • Generating XML with StreamingMarkupBuilder

  • 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

    • Mocking with Maps, Expando, Groovy Mock Library, Categories, and Expando

    • Testing with Spock


Call us at (877) 629-5631