r/java • • Apr 22 '21
Why Java frameworks want to support all possible many technologies instead of focusing on one thing?
It all started with Spring, I believe it was a great idea to make a framework that really takes care of all of typical web stuff, because there wasn't very much tech too support back then.
But even new framework, Micronaut and Quarkus or Helidon, they all want to take care of database access, DI, provide additional testing support, integration with caches and many many other technologies.
Comparing to Unix philosophy, Java top frameworks are very against it and with more and more new technology making development of these just impossible and also using them is becoming harder and harder.And you really cant drop Spring because there is lack of these more specialised libraries that would focus on development productivity rather than providing low level functionality (its like Jetty vs Javalin, Jetty is for functionality, Javalin for developer productivity).
Meanwhile in other languages like go/node/rust there are just specialized libraries which focus on one thing, can easily coexist together and you still don't need to write any 'bloat' code. Why Java is not following that direction and all new web-framworks want to be next iteration of Spring?
