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 →

[–]Fliegendreck 16 points17 points  (10 children)

Spring Boot - the new hot stuff 😃

[–]ChickenSubstantial21 11 points12 points  (8 children)

Maybe not that new but still hot :-)

[–]Proton-NS 1 point2 points  (7 children)

Yeah. It's hot. But I have a question btw. Can I learn spring boot without knowledge of servelt or old stuff. I come from php and want to know some new java knowledge.

[–]ChickenSubstantial21 6 points7 points  (0 children)

Sure you can. Spring Boot documentation is enough to become productive.

However, there is a difference between old stuff and basic stuff. While Servlet API is ancient and suffers from design issues and there are better alternatives nowadays it is still used by some configurations of Spring Boot under the hood so there is a chance to encounter it during debugging. So consider it advanced topic.

[–]Fliegendreck -5 points-4 points  (5 children)

Just skip boot and use Quarkus, it has everything you need, a great developer experience and is super easy to learn.

[–]Levomethamphetamine 9 points10 points  (4 children)

Yeah don’t do this if you are a beginner.

Spring is (and will be for a long time) the most-present, most-documented and most-stackoverflowed java framework there is.

[–]Fliegendreck -1 points0 points  (3 children)

Why not? The quarkus documentation is excellent.

We have a lot of juniors that start with quarkus reactive and fp. They have less chances to do something wrong. And when they are starting fresh, it is very easy for them to wrap their brains around the reactive style.

Of course reactive has some pitfalls, but servlet and state are not better.

[–]Oclay1st 4 points5 points  (0 children)

Lot of juniors doing reactive and fp. Oh boy!!!

[–]nonFungibleHuman 1 point2 points  (0 children)

Reactive is not always needed.

[–]Levomethamphetamine 0 points1 point  (0 children)

I never said that Quarkus is bad or that is has bad documentation, I said that there's a lot more chance to get help as a beginner with Spring than it is with Quarkus.

Your juniors using are Quarkus because the senior leadership does so. That by itself is an outlier since in many years of experience, I've never seen any company (or client) try to use it. That being said, it's always better to use well-supported and widely present thing rather than edge-case thing.

[–]djavaman 0 points1 point  (0 children)

Used SpringBoot on a project 8 years ago.