Groovy
Synchronized Annotation for Synchronizing Methods
In this world of asynchronicity we live in where multiple promises may update a shared variable, Groovy's @Synchronized
is a blessing.
The annotation will create a lock variable in our class (or we can use an existing variable) and the code is synchronized on that lock variable.
Simplified Use of Locks in Groovy
A bit of metaprogramming and Clousure magic and @johanneslink shows how simple can it be to work with locks.
The Best Groovy Inspections You're Not Using
This post highlights static analysis rules for Groovy in IDEA that are not enabled by default. Interesting discussion around Threading, control flow, error handling, validity issues.
News
Grails 10th anniversary 🎈🎈🎈
On February 18, 2008, the Grails team released version 1.0 of the Grails Framework.
I found some pictures 🖼 from GR8Conf 2009. You will see a lot of familiar faces.
Sponsored Link
Less than 2 weeks to get your Greach Early Bird ticket.
Early Bird deadline: 📆 28th February.
- Conference (2 days): 139€.
- Workshops + Conference (2 days): 199€.
- Workshops + Conference (2 days) + Grails Training (2 days): 298 €
Hurry up!
Grails
OCI Webinar: Developing React Apps with Grails 3
📼 Recording of last week @ZacharyAKlein's webinar:
React is the JavaScript view library from our friends at Facebook. Rather than providing a "full-stack framework" for the front end, React focuses entirely on being the 'V' in MVC.
In this webinar, you will learn how Grails developers can leverage React in their projects. We'll demonstrate several ways to use these two frameworks together, including an introduction to the React profile for Grails.
Grails ElasticSearch Guide
Learn how to use ElasticSearch within a Grails application in the latest Grails Guide.
Amazon Simple Message Queue Service with Grails microservices
Why you may want to use a Message Queue
When your web application contains a number of services or microservices, you may need them to communicate with each other. This is usually achieved using REST or message queues. A message queue(MQ) is a software component used for passing data (messages) between services. It exposes an interface for adding, reading, and removing messages.
This post shows how Grails benefits from being built on top of Spring Boot and how easy is to setup and consume Amazon SQS.