|
In addition to introducing the new Spring Faces and Spring Javascript
modules, the Web Flow 2 release effort addresses two major themes:
Integration and Simplicity.
Integration
Across each of the modules, the Web Flow 2 distribution adds a number
of interesting integrations that allow you to enrich your web
applications. These integrations support:
- Using Spring Security to secure your flows in a declarative manner
- Using Tiles for JSP page composition and Ajax partial-rendering
- When using JSF, using Facelets for page composition and layout
- When using JSF, using Apache Trindad and JBoss RichFaces component libraries
- Using
the Dojo widget system in a progressive manner; a manner that degrades
gracefully if JavaScript is not available on the client
Simplicity
The flow definition language has been simplified tremendously in Web
Flow 2 while becoming more powerful overall. These simplifications
include:
- An appoximate 50% overall reduction in lines-of-code when
comparing a version 2 flow definition with its version 1 equivalent
(example: version 2 vs version 1)
- A concise syntax for invoking actions using an Expression Language (EL), with support for both the Unified EL and OGNL
- Declarative model binding and validation, with support for convention-over-configuration
- Support for reuse at both the flow and state levels using flow definition inheritance
- Enhanced modularity, allowing a flow and its dependent resources to be packaged together in a self-contained bundle
Release Notes
- Web Flow 2 requires Java 1.4 or greater and runs on all
major Java EE platforms including Tomcat, Jetty, Websphere, WebLogic,
and JBoss.
- Web Flow 2 requires Spring Framework 2.5.4 or greater.
|