Settings

Theme

Ask HN: Is Spring Boot still the first choice for Java Back end development?

2 points by ElectricMind 4 years ago · 4 comments · 1 min read

Reader

Recently for new job I was told that they don't use Spring boot for development. I am not senior developer but I have been learning Spring boot extensively and for me it makes sense as it gives me structure to write my code and also so many Spring Project and lot of material available. Are you guys(Java People) still using Spring Boot as first choice for Backend development or something drastically changed since few years? Thanks for help :)

PaulHoule 4 years ago

My take personally is that the core Spring Framework is first rate but all the other modules associated with it ("Spring Data", "Spring Cloud", ...) are lackluster in quality -- most of them add some mistakes and leave out some features I think are critical. Nothing stops you from using Spring to make the objects your app needs directly, so that's what I do.

I think many shops use Google Guice now. Spring fits my thinking better (I think static Java that is checked into version control plus a dynamic XML configuration file that is not is a great combo) but "when in Rome do as the Romans do" is the way of the world. I've learned how to get the results I need from Guice.

Unless there is some major showstopper (like the system is outright broken, a terrible mismatch for the domain, drives you crazy all the time when you understand the tools and the domain completely) I would always recommend going with the team on that kind of structural thing.

quantified 4 years ago

We’re not using any DI (!) and are looking at Spring, possibly with Quarkus. No DI at all in a several-year-old code base has made some things painful. My last two shops were Spring-based, though they were each started quite a while back.

Spring XML I’ve found makes bad coding easier than using config classes.

papaf 4 years ago

We're still using Spring boot and some JHipster. I feel quite productive in Spring boot and, even though I hate frameworks, its the best framework I have ever used.

phendrenad2 4 years ago

People have generally moved to microframework backends like micronaut or ktor.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection