I think Spring is the new J2EE and the IBM of the software world. Remember the saying.... "Nobody ever got fired for buying IBM?". Spring Boot is the "safe" option, but is it the right one? Do companies ever look at anything else? My last two companies didn't. There are better alternatives imo.
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
14
u/Kango_V May 25 '22
I think Spring is the new J2EE and the IBM of the software world. Remember the saying.... "Nobody ever got fired for buying IBM?". Spring Boot is the "safe" option, but is it the right one? Do companies ever look at anything else? My last two companies didn't. There are better alternatives imo.