Groovy
-
Grails domain classes and special presentation requirements
In Grails we often use our domain objects directly as backing model for presentation purposes and only for specialized situations…
Read More » -
Grails Tutorial for Beginners – Grails Service Layer
This tutorial will discuss the importance of the service layer in Grails and how to work with it. It also…
Read More » -
Gradle Goodness: Continue Build Even with Failed Tasks
If we run a Gradle build and one of the tasks fails, the whole build stops immediately. So we have…
Read More » -
Grails Spring Security Core Plugin – Registering Callback Closures
I was searching for a way to hook business logic after successful user login while using Spring Security Core plugin.…
Read More » -
Gradle Goodness: Using CopySpec with Tasks
To define a Copy task we specify the files we want to copy and to which directory. This definition is…
Read More » -
Gradle Goodness: Using and Working with Gradle Version
To get the current Gradle version we can use the gradleVersion property of the Gradle object. This returns a string…
Read More » -
Using Groovy for Bash (shell) Operations
Recently I needed to create a groovy script that deletes some directories in a Linux machine. Here’s why: …
Read More » -
Grails Generate Asynchronous Controller
Since version 2.3, Grails supports asynchronous parallel programming to support modern multiple core hardware. Therefore a new Grails command is…
Read More » -
Groovy Goodness: Closure as a Class
When we write Groovy code there is a big chance we also write some closures. If we are working with…
Read More »