Getting started with Spring Web Flow 2.0

Source: Internet
Author: User
Tags inheritance

Spring Web Flow 2.0 new features

Spring Web Flow is a subproject of spring, whose primary purpose is to resolve stateful interaction issues across multiple requests, between users and servers. The latest version, 2.0, has several notable new features compared to the 1.x version of Spring Web flow.

Deep integration with Spring MVC

The spring Web Flow 1.x is a self-contained framework that can be consolidated with Web frameworks such as spring Web MVC, Struts, and JSF. The latest spring Web Flow 2.0 explicitly declares an extension based on the spring web MVC.

Provides the ability to handle AJAX events

The processing of Ajax events is consistent with the handling of Web flow events, and the flow refreshes client-related interface code after processing is complete.

Integration with JSF

By wrapping JSF layers, you end up using the various components of JSF in the spring Framework and spring Web flow.

Integration with Spring Security (formerly Acegi Security)

By simply declaring a flow as "secured", you can use Spring security to determine whether the current user has permission to run the flow, fire events, and so on.

More Concise configuration

Official data say the same flow, 2.0 version of the configuration than the 1.x version of the configuration less than 50% of the XML code.

More convenient reuse

Spring Web Flow 2.0 provides the inheritance of flow, and it is easier to reuse the existing flow code.

More convenient reuse

Spring Web Flow 2.0 provides the inheritance of flow, and it is easier to reuse the existing flow code.

Annex to this article

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.