←back to thread

74 points holmofyHu | 1 comments | | HN request time: 0.209s | source
Show context
29athrowaway ◴[] No.41276823[source]
Java and Spring = an effort multiplier. It makes you spend more effort to obtain the same you would with other tech stacks.

Massive amounts of boilerplate and slow build times.

There are better ideas out there.

replies(4): >>41277001 #>>41277022 #>>41277568 #>>41279623 #
lopatamd ◴[] No.41277001[source]
Hmm actually it's very intuitive with latest versions. Maybe you're stuck on the old ones where they used to use XML still lol
replies(1): >>41277041 #
KronisLV ◴[] No.41277041[source]
Spring Boot is indeed quite usable! I'd compare it to something like modern ASP.NET, good runtime performance, okay ecosystem, good tooling, okay languages.

The old Spring, not so much - I've never had a bare Spring project that was pleasant to work with, especially when you don't have embedded Tomcat and the application server is configured separately from the deployable .war or whatever, what a mess. Thankfully, you can put those legacy projects into containers and make things slightly more palatable.

That said, even Spring Boot can feel a bit much sometimes, something like Dropwizard is still very idiomatic as far as the Java ecosystem is concerned and is both stable and usable in those cases: https://www.dropwizard.io/en/stable/ (not as fancy as Vert.X or Quarkus or whatever, but it's been around for a while and is decently documented)

replies(2): >>41277236 #>>41279300 #
1. neonsunset ◴[] No.41277236[source]
ASP.NET Core + ecosystem of packages for it are likely more comparable to Active-J and Vert.X in terms of focus on reducing boilerplate and offering good performance. There are more similarities in the API esp. with minimal API within the former. It is a much more focused package and Spring Boot performance really isn't up to par vs all these.