Overview of Next-Generation Java Frameworks (2022)
Overview of Next-Generation Java Frameworks (2022)
frameworks
Java Spring Boot Micronaut Quarkus Helidon
Michał Chmielarz
01 Apr 2022. 5 minutes read
Inthis post, I'd like to briefly describe frameworks that could be named
modern ones. will focus on open source options only.
I
Spring Boot
Spring Boot emerged during a natural evolution of the Spring Framework,
the most popular Java framework. This fact should be not surprising since it
has been on the market for a long time. The VMware company backs it.
Spring offers the Spring Native to provide a native deployment option with
GraalVM. However, the project is in the beta phase and is not as mature as
GraalVM support in other projects below.
Micronaut
Micronaut is one of the youngest kids on the street, provided by the Object
Computing company Its development started in 2017, and currently, the
.
The framework was created from the ground up to support work with
microservices and serverless functions The creators advertise it as a
.
works with Java 17, uses Reactor to provide reactive streams, and includes
plenty of integrations with external systems and cloud providers. We can
create services based on REST, gRPC, GraphQL, or messaging protocols. You
may notice the API of Micronaut is similar to the one in Spring and Grails.
That's no coincidence - it is maintained by Grails creators and takes a lot of
inspiration from the two frameworks.
Quarkus
The Quarkus framework is relatively new as well. The development of the
framework started in 2018. It's designed for cloud environments and is
presented as a Kubernetes-native. It is extensible and formed from a bunch
of well-known standards and libraries. The core of the framework is the
reactive engine based on Vert.x and the SmallRye implementation of the
MicroProfile specification.
Helidon
Helidon is a set of libraries for microservices It is created and maintained
.
by Oracle. To run it, we need at least Java 11. The latest release introduces
support for Java 17. We can write code with Java and Kotlin as well.
Interestingly, it comes in two flavors: Helidon SE and Helidon MP.
Summary
All of the presented frameworks fulfill most of the criteria I've chosen
initially. All of them are actively developed, and have strong supporters.
Definitely, would name all of them as the next-gen Java frameworks.
I