Reza Rahman is a former independent consultant, now Java EE/GlassFish evangelist at Oracle. He is the author of the popular book EJB 3 in Action. Reza is a frequent speaker at Java User Groups and conferences worldwide. Reza has been a member of the Java EE, EJB and JMS expert groups. He implemented the EJB container for the Resin open source Java EE application server. All views voiced are my own, not necessarily Oracle's. Reza is a DZone MVB and is not an employee of DZone and has posted 166 posts at DZone. You can read more from them at their website. View Full User Profile

A Gentle Introduction to the JSF 2.2 Faces Flow

02.28.2013
| 5475 views |
  • submit to reddit

My well-respected colleague and good friend Arun Gupta continues his admirable effort to provide some very early coverage of Java EE 7 features. I thought I'd highlight his blog entry on JSF 2.2 Faces Flows written in this vein.

As many CDI adopters are aware of, Java EE 6 introduced the concept of conversation scopes. The conversation scope is a very simple, lightweight and powerful way of having greater control over application state in workflow-oriented applications (e.g. multi-step wizards). JSF 2.2 Faces Flows takes that concept to the next level by standardizing fairly well-understood workflow modeling concerns that have been been there in ADF Task Flow, Spring Web Flow and Apace MyFaces CODI. The JSF 2.2 Faces Flows are a synthesis of those ideas focused on type-safety, annotations, simplicity and fluency.

In his blog entry, Arun does a good job of explaining the basic concepts. He discusses the feature, explains the motivation, introduces the API, links to a great video demoing the feature and references further resources.

Published at DZone with permission of Reza Rahman, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)