|
From: Matt R. <li...@ra...> - 2004-11-27 16:45:54
|
First of all, it should be said that this comparison is heavily biased b/c I've used Struts ever since it came out in June 2001. I think Spring has an awesome MVC framework. The things I find missing at its core are client-side validation and a rich JSP tag library. You can solve #1 with Commons Validator and #2 with JSP 2.0 Tag files - neither of which are distributed with Spring. I can understand the lack of JSP tags b/c the current tags allow you to do WSIWIG editing (ala Tapestry) and also you get full control over the HTML. If I were able to make the leap to JSP 2.0, I would probably choose Spring over WebWork and Struts. It's easy to test and easy to work with. I just wish there was a way to have a parent class for your Controllers and SimpleFormControllers. A common base class in a web framework controllers is something I've found useful. I like all the ones I wrote about in the comparison and I will continue to use them all. I think Spring is better than Struts, but on par with WebWork. I just wish Spring had easier ways to do <select>s and multi-select <select>s. You can't really compare Spring MVC to Tapestry/JSF because it's a different type of development (request-based vs. component/event). I would recommend starting a new project with any of these 5 frameworks. Matt Ernesto Echeverria wrote: > well yes, Matt where did you leave spring? > > Tom K wrote: > >> Very interesting pdf presentation on the comparisons of MVC >> frameworks. What makes it interesting is the question “Which would I >> choose?” since Matt is writing a book on Spring (Spring Live). >> https://equinox.dev.java.net/framework-comparison/WebFrameworks.pdf > |