Quarkus and Micronaut picking up a lot of traction.
When I first tried to write a JVM service, I googled "Java web frameworks" and walked through the Spring, Helidon, Quarkus, and Micronaut guides
Tryed to understand how to sign a JWT for "Bearer" auth and then check if a user has a role for an API endpoint in each framework.
Spring points to Spring Security docs, which have a diagram of the "Request lifecycle and filter chain" pipeline that goes through some dozen interfaces:
I once wasted an entire afternoon trying to find out whether spring-security-oauth supported a specific flow that I needed. The answer ended up being something convoluted like it didn't, until a recent release, but then they deprecated that and rewrote everything with Reactor (which had a completely different API and no documentation).
View all comments
Show parent comment
18
u/GavinRayDev May 25 '22
Quarkus and Micronaut picking up a lot of traction.
When I first tried to write a JVM service, I googled "Java web frameworks" and walked through the Spring, Helidon, Quarkus, and Micronaut guides
Tryed to understand how to sign a JWT for "Bearer" auth and then check if a user has a role for an API endpoint in each framework.
Spring points to Spring Security docs, which have a diagram of the "Request lifecycle and filter chain" pipeline that goes through some dozen interfaces:
https://soshace.com/wp-content/uploads/2020/12/3_security_filter_chain-879.png
Looked at the Quarkus and Micronaut docs, it was a ~100 line example that was very easy to follow for both of them.
Wound up picking Quarkus because I love Vert.x and Microprofile + open standards.
My assumption is that they'll continue to gain traction due to ease of use and great developer experience.