Why use Spring?
843833Oct 19 2006 — edited May 4 2007I've been reading up on Spring for days now and I'm still not sure why I'd use it. I suppose it allows for some dynamic web apps, but I could use JSP's and tags and get the same effect. The whole dependency injection argument doesn't really make me feel any better either, because the dependencies still exist. I must be missing something major here. Everywhere I look I see people raving about Spring, Struts, and Hibernate and other frameworks that are supposed to help/simplify development. All I can see is that these frameworks complicate things tremendously. Instead of writing Java code (which is standard and many people know it) we're now writing XML instead. For example, instead of a JSP/Servlet and a DAO, we now have Java and XML and properties files and jars all over the place! To make matters worse, Spring is now doing all the work for me using its internal classes, so it makes it harder to debug, etc. I simply don't see the value add in using any of these frameworks. What am I missing?