O'Reilly logo

Beginning JSF™ 2 APIs and JBoss® Seam by Kent Ka Iok Tong

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

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 ...

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