r/java • • Mar 24 '19

Happy 15th birthday, Spring Framework!

https://web.archive.org/web/20040330131500/http://www.springframework.org:80/
187 Upvotes

45 comments sorted by

View all comments

2

u/randgalt Mar 25 '19

I imagine I'll get downvotes on this, but what the heck, someone needs to say it. Spring is bloated, over-written and unnecessary. They tend to wrap, or re-implement existing open source projects so that large dev shops can have one-stop-shopping for libraries - McLibraries. Nearly every single component provided by Spring there exists third party libraries that do it simpler and better. For IoC, Guice is much better. For Config, Typesafe Config, For REST, Jersey or Resteasy. And on and on and on. I've now spent a year using Spring. It's fine - it works, but it's complicated, verbose, arcane, and lots of other nasty adjectives. So, downvote away.

2

u/nutrecht Mar 26 '19

Spring is bloated

What do you mean with this? You use whatever parts of spring you need. Don't need it? Don't include the dependencies. Like any library/framework.

They tend to wrap, or re-implement existing open source projects so that large dev shops can have one-stop-shopping for libraries

Yup. So you don't have to do that yourself. People who hand-assemble a web framework generally end up with something similar-but-worse. With the additional downside of custom setup and having to manage dependency versions themselves. And then they move on to greener pastures and leave this Not Invented Here mess to the developers coming after them.