Spring MVC learning summary and springmvc learning Summary

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.