Creating Custom Constraints

Now and than there is the requirement to create custom constraints. As you might already know, there are plenty of constraints that already are shipped with Grails. Those can be...

Implementing a @Serializable annotation with Groovy AST transformations

Groovy 1.6 provides hooks to intercept the compilation process and modify the generated AST (abstract syntax tree).There are two categories of AST transformations:global transformations local transformationsThis blog-post deals...