days
-4
0
hours
-1
-8
minutes
-4
-5
seconds
-3
-5
search
Micronaut and the Groovy Grails

Grails 4 – Groovy goes serverless with Micronaut

Chris Stewart
Grails goes serverless
© Shutterstock / Dmitry Skutin

It’s been a long time since Grails got a big update – over four years. Grails 4 doesn’t just update the minimum dependencies and improve startup time and memory use, but also brings Micronaut into the spotlight.

The co-founders of Grails and Micronaut, Graeme Rocher and Jeff Scott Brown, also lead the Grails and Micronaut development team. Over the last four years, the team has worked hard on this update. As a result, there are some pretty significant changes and new functionalities.

The new Grails

First thing’s first – Grails’ minimum dependencies have changed with this update. Java 8 and Groovy 2.5 are now basic requirements, as are Spring 5.1, Spring Boot 2.1, Hibernate 5.4 and Gradle 5.

What users of Groovy and Micronaut will find really interesting is that this new framework version brings Micronaut’s features to Grails. Micronaut is now the HTTP client for use within Grails applications. And as Thomas Buss recently wrote in his blog for JAX London, one of Micronaut’s benefits is its startup times, which are such that it opens up the serverless universe to Java developers. This could make Grails 4 something of real interest – Groovy goes serverless.

SEE ALSO: 3 tips for serverless success in 2019

Speaking of which, Grails 4’s own startup times and memory consumption have been vastly improved, not least because of changes to Spring Boot 2.1 and the migration of some of Grails’ internal workings to Micronaut.

There’s more detailed information about Grails 4 on the Object Computing website, and in the release information on GitHub.

    16 experts from all over the world discuss how serverless is changing the way developers, operators, and administrators work. Expand your knowledge with the help of our Serverless Architecture Whitepaper. Stay on top of the latest trends in the field of knative, kubernetes, serverless testing as well as their drawbacks and advantages.

Author
Chris Stewart
Chris Stewart is an Online Editor for JAXenter.com. He studied French at Somerville College, Oxford before moving to Germany in 2011. He speaks too many languages, writes a blog, and dabbles in card tricks.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of