C H A P T E R  8

image

Using Conversations

In the previous chapters, you learned how to use web beans to maintain states for a request (request scope), for a user (session scope), or for the whole application (application scope). In this chapter, you'll learn how to use a very powerful type of scope provided by web beans: conversation scope. It allows you to maintain a different state on the server for a browser window.

Creating a Wizard to Submit Support Tickets

Suppose you'd like to develop a wizard that allows the user to submit a support ticket, as shown in Figure 8-1. That is, the user enters her customer ID at step 1 and enters the problem description ...

Get Beginning JSF™ 2 APIs and JBoss® Seam now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.