Contract-Oriented Programming with Groovy

Introduction One of the first programming-related books i've read thoroughly has been "Object Oriented Software Construction" by Bertrand Meyer [0]. Although the second release (!) has been released back in...

Getting the Persistence Context Picture (Part I)

This article series deals with Hibernateā€˜s basic APIs and how Hibernate is used in Grails applications. The first part of this series is meant to be seen as...

Structuring Grails Projects

A Plain ProjectCreating a Grails project is damn easy. Just rungrails create-app

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