Using Spring 2.5 note-driven spring MVC

Source: Internet
Author: User
Using Spring 2.5 note-driven spring MVC

Original link:http://www.ibm.com/developerworks/cn/java/j-lo-spring25-mvc/

Note-based configuration has an increasingly popular trend, and spring 2.5 conforms to this trend, providing spring MVC with a fully annotation-based configuration. This article introduces the new sping MVC annotations feature in Spring 2.5, which describes how to replace the traditional XML-based Spring MVC configuration with the annotation configuration.

Overview

Spring 2.5 Introduces note-driven functionality for spring MVC after Spring 2.0 's major upgrade to spring MVC. Now you don't have to have the controller inherit any interfaces, you don't need to define the mapping of the request and controller in the XML configuration file, just using annotations can make a POJO with most of the functions of the controller--spring the ease of use of the MVC framework Further enhancements. In framework flexibility, ease-of-use, and extensibility, spring MVC has gone beyond the other MVC frameworks, and with spring singing Mengjin, it is anticipated that spring MVC's appeal to the MVC market will become increasingly irresistible.

This article introduces the new sping MVC annotations feature in Spring 2.5, which describes how to replace the traditional XML-based Spring MVC configuration with the annotation configuration.

Using Spring 2.5 note-driven spring MVC

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.