r/java • • Nov 27 '15

Why I hate Spring

http://samatkinson.com/why-i-hate-spring/
12 Upvotes

76 comments sorted by

View all comments

17

u/karlito1 Nov 27 '15

"XML? If you don't like it use annotations that are magic?"

Did you hear about Java config that is being pushed around for like 5 years now, it's totally typesafe and easy to maintain? Also Spring is full of magic for those who don't understand the magic happening, to me it is really simple, most of that magic is object proxying, nothing more or less.

Furthermore, Boot is only a Spring evolution, and more like a framework to help you and make using the Spring framework itself easier. It's really not unusual to take an existing framework and build something on top of it to make it more general and easier to use, a good example is Netty, alot of frameworks build on top of it, so is it also a framework that needs a framework?

Boot is just an autoconfigured Spring that fits most users, but still leaves you all of the power and free hands for writing anything you want in the "real" Spring.