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