Software Development

Groovy – @Builder example

@Builder allows us to use the Builder Design Pattern on our Groovy classes.

Read More...

Software Development

Groovy – @Sortable example

Groovy @Sortable is something similar to Java’s Comparable interface.

Read More...

Software Development

Groovy – @Singleton example

This post shows a simple example of Groovy class that uses the @Singleton annot

Read More...

Groovy, Software Development

Run Groovy Without Installing On Windows

This post demonstrates how to temporarily configure Groovy to run on Windows. This is useful when we are unable to add or modify environment variables in Windows due to restrictions.

Read More...

Software Development

Immutable Objects Using Annotation In Groovy

In Groovy, it is possible to create an immutable using the groovy.transform.Immutable annotation. One possible use-case for this is when we want to create a object (with data initialized through the class constructor) that is passed to another application layer (e.g., service) but we don’t want that object modified in that layer.

Read More...