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