Spring MVC Learning Summary

Source: Internet
Author: User

(1) Spring MVC is an MVC framework, and individuals feel that spring MVC annotation-style development is easier than Struts2, and can be used directly instead of struts above (of course struts as a very mature MVC, Functionally, it's still a bit stronger than spring, but spring MVC is good enough. Of course, Spring MVC performs more efficiently than struts because struts ' value stacks affect efficiency.
(2) Spring MVC is similar to the one of struts's MVC open frames, which are all part of the spring,spring MVC need to have spring's scaffolding as a support to run.

(3) Spring Web MVC is a Java-based lightweight web framework that implements the request-driven type of the Web MVC design pattern, that is, the idea of using the MVC architecture pattern, decoupling the WEB layer from responsibility, and based on the request-driven approach is the use of the request-response model, The purpose of the framework is to help us simplify our development, and Spring Web MVC also simplifies our daily web development.

Spring Web MVC is also an implementation of service-to-worker mode, but is optimized. The front controller is Dispatcherservlet, and the application controller is actually split into a processor mapper (Handler Mapping) for the management of the processor and view Resolver for the Views; Page Controller/action/ The processor is an implementation of the Controller interface (which contains only the Modelandview handlerequest (Request, Response) method), which can also be any Pojo class, support localization (Locale) parsing, Topics (Theme) parsing and file uploading, etc. provide very flexible data validation, formatting, and data binding mechanisms, and provide a powerful contract-like programming support that is larger than the configuration (customary precedence principle).


References: http://jinnianshilongnian.iteye.com/blog/1594806 detailed http://blog.csdn.net/u012228718/article/details/ 43113983 Detailed 2http://blog.csdn.net/qq247890212/article/details/12053469 Summary

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Spring MVC Learning Summary

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.