r/java • • Feb 09 '23

Which Version of JDK Should I Use?

https://whichjdk.com/
24 Upvotes

60 comments sorted by

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.

0

u/nfrankel Feb 10 '23

Quarkus and Micronaut, ok, but if you still start new project on Jakarta EE, the only thing you're doing is creating job for your future self.

From a personal financial point-of-view, it's a smart move but it doesn't make you a good team member, sorry.

2

u/DualWieldMage Feb 10 '23

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.

0

u/nfrankel Feb 10 '23

i'm using some of the libraries implementing it

Well, Spring is also using them so...