Springmvc Background Introduction and comparison of common MVC frameworks

Source: Internet
Author: User

first, Spring MVC Background Introduction

The spring Framework provides a full-featured MVC module for building web Applications. Using Spring's pluggable MVC architecture, You can choose to use a built-in spring web framework or a web framework such as Struts. With the policy interface, the spring framework is highly configurable and includes a variety of view technologies, such as JavaServer Pages (JSP) technology, Velocity, Tiles, itext, and Pol. The Spring MVC framework does not know which view to use, so it does not force you to use only JSP Technology. Spring MVC separates the roles of controllers, model objects, dispatchers, and handler objects, and this separation makes them easier to customize.


second, The common MVC framework Comparison

performance on the run :

Jsp+servlet>struts1>spring MVC>STRUTS2+FREEMARKER>>STRUTS2,OGNL Value Stack.

Development efficiency, Basically the opposite, it is worth emphasizing that spring MVC development efficiency and STRUTS2 are Comparable.

The reason for the low performance of STRUTS2 is due to the OGNL value Stack. so, If your system is high-volume, you can use Freemarker to display it instead of using OGNL and value stacks. In this way, there will be significant performance improvements.

Springmvc Background Introduction and comparison of common MVC frameworks

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.