Chapter 2. Managed Beans
“Definition of a Bean” on page 37
“Message Bundles” on page 42
“A Sample Application” on page 46
“Backing Beans” on page 53
“Bean Scopes” on page 54
“Configuring Beans” on page 57
“The Syntax of Value Expressions” on page 64
A central theme of web application design is the separation of presentation and business logic. JSF uses beans to achieve this separation. JSF pages refer to bean properties, and the program logic is contained in the bean implementation code. Because beans are so fundamental to JSF programming, we discuss them in detail in this chapter.
The first half of the chapter discusses the essential features of beans that every JSF developer needs to know. We ...
Get Core JavaServer Faces, Second Edition 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.