O'Reilly logo

Java EE 7 with GlassFish 4 Application Server by David R. Heffelfinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JSF 2.2 Faces Flows

Faces Flows is a new JSF 2.2 feature that defines a scope that can span several pages. Flow scoped beans are created when the user enters a flow (a set of web pages) and are destroyed when the user leaves the flow.

Faces Flows adopts the convention over configuration principle of JSF. The following conventions are typically used when developing applications employing Faces Flows:

  • All pages in the flow must be placed in a directory with a name that defines the name of the flow
  • An XML configuration file named after the directory name and suffixed with -flow must exist inside the directory that contains the pages in the flow (the file may be empty, but it must exist)
  • The first page in the flow must be named after the directory name ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required