This deep-dive workshop explores Apache Groovy's powerful and flexible metaprogramming capabilities from beginner to advanced, with an emphasis on techniques of particular interest to Grails® developers.
The course covers, in-depth, how Apache Groovy’s dynamic dispatch mechanism works and how application and plugin code can participate with that dispatch mechanism to provide more simple application code. You'll also learn techniques that may be applied at compile time to enhance classes, including AST transformations, automatically enhancing Grails artifacts with traits and more.
We recommend students be familiar with the Apache Groovy programming language to get the most out of this course. In-depth knowledge of Groovy is not required.
DURATION and Format
1 day (6 hours)
Schedule a custom offering of this workshop.
The following topics are covered in this workshop:
- Introduction to metaprogramming
- Runtime metaprogramming vs. compile-time metaprogramming
- Runtime extension methods
- AST transformations
- AST macros
- Enhancing Grails artefacts
Professional Training for Modern Technology Teams
Open Enrollment Courses
Open enrollment courses are a great, cost-effective option for organizations that have an immediate need to train a small number of employees.
Customized Training Programs
Customized training programs can be delivered on-site, in our training lab, or online to help organizations enhance the skills of their internal development teams.