Environment Meta-Annotations

Starting with Spring 3.1, the framework introduced a new @Profile annotation - along with the introduction of the new environment abstraction. The @Profile annotation can be applied...

Java Codecache

When a Java program is run, it executes the code in a tiered manner. In the first tier, it uses the so-called client compiler (C1 compiler mode) in order to...

Grails, GPars and Hibernate

The GPars library is a great way to add concurrency supporting constructs to your Groovy code. It equips Groovy projects with powerful concurrency concepts like parallel collections, map reduce...

Grails: Reconnecting JDBC Connections

At our company we are utilising the well-known Quartz library and Grails plugin for our batch jobs in Grails applications. When going throgh the server log files of our...

Spock Quick-Tip: Grails Integration Tests

I’m currently working in project with a nearly six year old Grails application. Over time, we changed from having plain JUnit 4/GroovyTestCase unit and integration tests to Spock...

Grails - Tracking Principals

We use the Grails auto timestamp feature in nearly all of our domain classes. It basically allows the definition of two special domain class properties dateCreated and

Google I/O App Insights

A while ago I came across the Google I/O App in one of the latest Android Developers blog posts. I thought it would be interesting to have a look...