logoalt Hacker News

cogman10today at 3:08 PM0 repliesview on HN

Spring is such a massive framework and it definitely has parts that aren't, frankly, well done. More than once Spring has ultimately been the source of performance issues for us with the solution being to ditch spring and do things with just the JDK. A lot of those cases have been fixed, however, even in the best case spring will take something that could have been a single function call and turn it into a maze of 20 different function calls because it's handling all sorts of weird edge and corner cases that aren't applicable to your code. It also doesn't help that some things are simply bolted in which makes it even harder to understand what is going on under the covers.

It also doesn't help that it's really easy to end up bringing in the entire framework for what you assumed were single function portions of the framework.

That said, it's the framework you probably want to use if you are doing Java. Just not if you are doing fast java.