by Paul Krill

Spring Web Flow boosts Web apps

how-to
Jun 21, 20072 mins

Spring Web Flow 1.1 to feature flow composition and inheritance, improved integration with JSF

SAN FRANCISCO (06/19/2007) – Spring Web Flow, a Web framework built on the popular Spring Java framework that integrates with such frameworks as Spring, Struts, and JavaServer Faces, is being upgraded to improve the flow of activities in applications.

Developers of Spring Web Flow are working on version 1.1 of the framework. Due later this year, it will feature the concept of flow composition and inheritance, in which application parts representing user functionality can be reused, said officials at Interface21, which oversees development of Spring technologies. This capability is of particular use in e-commerce applications and involves the embedding of application subflows into a master flow of functionality in an application.

Improved integration with the JSF (JavaServer Faces) framework also is planned. “It’s much more natural now for those used to working with JSF,” said Keith Donald, principal engineer at Interface21.

Key functions of Spring Web Flow include:

  • Navigation control, in which it can be used to define how a user interacts with a Web application.

  • Managing of state associated with a Web application, including the management of transient data, such as passenger information, when booking a flight in an e-commerce system.

  • Modularity, in which a process like a booking process can be modularized as a discreet unit.

“The sweet spot for Web Flow is providing a really good framework for things like wizards,” Donald said. With Web Flow, Java developers can leverage object-oriented language concepts, said Neelan Choksi, senior vice president of Americas at Interface21.

While Web Flow handles user interactions in an application, Spring would deal with transactional processing, business logic, and data access, said Donald.

Version 1.0.3 of Spring Web Flow was released a few weeks ago, while version 1.0.4, featuring minor improvements and bug fixes, is due this week. Milestone, or preview, releases of version 1.1 will be offered prior to the general release.

Spring Web Flow has been downloaded more than 100,000 times, most of which occurred after the release of the 1.0 version of the software in October 2006.