Chapter 6. Practical Use of Spring Web Flow

6.1. Sample applications

It is recommended that you review the Spring Web Flow sample applications included in the release distribution for best-practice illustrations of the features of this framework. A description of each sample is provided below:

  1. Phonebook - the original sample demonstrating most features (including subflows).

  2. Sellitem - demonstrates a wizard with conditional transitions, flow scope, flow execution redirects, and continuations.

  3. Flowlauncher - demonstrates all the possible ways to launch and resume flows.

  4. Itemlist - demonstrates REST-style URLs and inline flows.

  5. Shippingrate - demonstrates Spring Web Flow together with Ajax technology.

  6. NumberGuess - demonstrates use of stateful middle-tier components to carry out business logic.

  7. Birthdate - demonstrates Struts integration and the MultiAction.

  8. Fileupload - demonstrates multipart file upload.

  9. Phonebook-Portlet - the phonebook sample in a Portlet environment (notice how the flow definitions do not change).

  10. Sellitem-JSF - the sellitem sample in a JSF environment (notice how the flow definition is more concise because JSF takes care of data binding and validation).