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 live online training, plus books, videos, and digital content from nearly 200 publishers.