Grails 4 – Groovy goes serverless with Micronaut

Share
  • July 12, 2019

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.

The post Grails 4 – Groovy goes serverless with Micronaut appeared first on JAXenter.

Source : JAXenter