Chapter 5. Conversations and Journeys
"Success is liking yourself, liking what you do, and liking how you do it." | ||
--Maya Angelou |
In this chapter, we devote our attention to the JSF conversation scope. This scope defines the lifecycle of a managed backing bean that spans between the request and the session scope. This allows the data in the form to survive in a lifespan that sits between the request-scope and the session-scope. The conversation scope is also said to be contextual. This term is appropriated from the Context and Dependency Injection (CDI) specification, and it means that the life span of the beans marked with a conversation scope are treated as being part of a context. You can think of this as a dotted marker that the CDI container draws around the object instances to define them as a private group, which denotes a lifecycle. The CDI container does this job of gathering the object instances together as it associates one object bean with...