Reading about Traits I stumbled upon this statement in the Groovy Documentation:
use of the as keyword to coerce an object to a trait at runtime
@mrhaki explains in the linked blog post with more detail. Moreover, he shows us how to apply multiple traits with withTraits
@paulk_asert's slides about working with databases while using Groovy give an overview around the usual operations ( connecting, reading, updating ..) and the advanced use cases ( store procedures, dataset, working with MongoDB or Neo4j)
Checkout the Github repository
@BenRipkens shows how to do logging in a plain Groovy project. For those times you are not using a framework. Learn which dependencies to add to your build.gradle file. Decouple your program from specific logging frameworks with SLF4J.