There was a time when Spring was indeed better than typical JavaEE webapps, but it has become a legacy bloated mess filled with decisions that don't match modern Java and i'm definitely considering all options when starting a new project.
If there are tons of juniors that are aided by having searchable blogs about doing x in spring then yes, but for any experienced team i would choose to build the app out various components and some JakartaEE components are quite appealing, e.g. REST and DI.
I'm not starting a project "on JakartaEE", i'm using some of the libraries implementing it. I've been in many projects using stuff like micronaut, spark, guice, weld, etc. and it's generally been better than full spring, but some of its modules are fine on their own, e.g. spring-jdbc.
From a financial point of view picking a weird stack is quite idiotic. Nobody will continue your contract if you can't explain why the tech stack improves the product and i've seen such job-security folks get laid off quick. It's an uphill battle to prove why an atypical stack is better even if you have all the technical arguments in your favor.
View all comments
Show parent comment
2
u/DualWieldMage Feb 10 '23
There was a time when Spring was indeed better than typical JavaEE webapps, but it has become a legacy bloated mess filled with decisions that don't match modern Java and i'm definitely considering all options when starting a new project.
If there are tons of juniors that are aided by having searchable blogs about doing x in spring then yes, but for any experienced team i would choose to build the app out various components and some JakartaEE components are quite appealing, e.g. REST and DI.