Like this article? We recommend
Elements of Spring Web Flow Applications
A typical application flow consists of these items:
- One or more states
- State transitions
- Actions that update data and initiate state changes
- Events that occur as states change
- View displays
Authoring states is achieved using a special-purpose flow definition language that includes some of the following elements:
- View state
- Transition
- End state
- View navigation logic
- Actions
We'll see all of these elements in action later in the example code. For an overview, the elements are reasonably self-explanatory. If you want to learn more, have a look at the excellent documentation included with the Spring web flow distribution. Meanwhile, let's get started by building the distribution.