About the author: Matt Raible, J2EE5.0 Expert Group, Open Source Project Roller Weglogger, XDoclet, Struts Menu, DisplayTag, Appfuse Submiter.
(1) Excellent point
1, Struts Advantages: Industry "Standards" (Many Successful Cases), rich learning resources, HTML tags are very good shortcomings: ActionForms is inconvenient, unable to make unit tests (StrutStestCase can only be integrated);
2, Spring MVC Advantages: Lifecy For Overriding Binding, Validation, ETC .; easy to integrate with other View Framers (Titles, etc.) , Missing a public controller
3, WebWork Advantages: The structure is simple and easy to expand, the label library is easy to customize, the interceptor is very good: the document example is very small, the client verification technology is not mature;
4, Tapestry Advantages: Very good to use as long as you can learn, html template, healthy and smart user community Disadvantages: Document too concept, is not conducive to programming, the learning curve is too steep, can not test;
5, JSF Benefits: J2EE standard, easy development, rich navigation frame drawing: JSP tag difference, unspeakable technology, no single source for importation.
(2) Ranking
The first Struts is easy to develop because many problems have been resolved. The HTML tag is its best place.
The second Spring MVC is also good, but it lacks a good form label.
The third WebWork client verification technology is very poor.
The fourth Tapestry Matt Raible is currently not learning how to use it.
The fifth JSF needs to listen to the views of developers.
(3) Frame selection
Project time is urgent and there is no high demand, Struts is preferred; for large-scale enterprise projects, consider Tapestry because it is reusable components; if you are an open source project developer, consider WebWork, because it requires you Its itself is clear (forcing you to analyze its source code)