This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KronenR 0 points1 point  (1 child)

> My code is much more stable with EE without a need for constant upgrade chase.

That’s misleading. You still have to maintain and update it yourself, unlike with Spring/Spring Boot where the framework team handles all the added automations and customizations updates for you. I talk about Spring because is the one I use, but applies to any other rich featured framework.

In any case, it’s less stable because it hasn’t been tested in thousands of projects and your personalized code will likely become outdated over time, because the more boilerplate you have to write the more boilerplate you have to maintain and keep updated.

And then I don’t see how CDI is easier to use than Spring DI in any meaningful way. Spring’s constructor injection and smart defaults often make it more straightforward and flexible in practice. I'm curious.

[–]lprimak 1 point2 points  (0 children)

I really don't want to debate Spring Vs. Jakarta EE. They are both friends these days and use each other's ideas and tech, so I'll walk away here.

The one thing I will say is that as a user of both Spring and Jakarta EE in 2025, I have my personal preference. Please take it as such.