Code samples for my Grails 2.4.x book.