Spring MVC learning summary and springmvc learning Summary
(1) Spring MVC is an MVC framework. I personally think that Spring MVC annotation-based development is more convenient than Struts2, and can directly replace Struts above (of course, Struts is a very mature MVC, the function is better than Spring, but Spring MVC is enough ). Of course, the execution efficiency of spring mvc is higher than that of struts because the value stack of struts affects the efficiency.
(2) spring mvc is similar to a struts MVC open framework. It actually belongs to spring. spring mvc can run only when it has spring shelf packages as support.
(3) Spring Web MVC is a lightweight Web framework that implements the Web MVC Design Pattern Based on Java. It uses the MVC Architecture Pattern, decoupling the responsibilities of the web layer. Based on the Request driver, the request-response model is used. The framework aims to help us simplify development, and Spring Web MVC also simplifies our daily Web development.
Spring Web MVC is also the implementation of the service-to-worker mode, but can be optimized. The front-end controller is DispatcherServlet. The application controller is actually split into Handler ing for processor management and View Resolver for View management; the page Controller/Action/processor is the implementation of the Controller Interface (only including the ModelAndView handleRequest (request, response) method) (or any POJO class); supports localization (Locale) parsing, Theme parsing, and file uploading; provides flexible data verification, formatting, and data binding mechanisms; provides powerful conventions over configuration (conventional priority) support for contractual programming.
References: http://jinnianshilongnian.iteye.com/blog/1594806 detailed explanation http://blog.csdn.net/u012228718/article/details/43113983 detailed explanation 2 http://blog.csdn.net/qq247890212/article/details/12053469 Summary
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.