Book Image

Mastering JavaServer Faces 2.2

By : Anghel Leonard
Book Image

Mastering JavaServer Faces 2.2

By: Anghel Leonard

Overview of this book

Table of Contents (20 chapters)
Mastering JavaServer Faces 2.2
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
The JSF Life Cycle
Index

Summary


In this chapter, we have browsed through an overview of JSF/CDI scopes. It begins with an open discussion about JSF scopes versus CDI scopes, meant to provide a few advantages/disadvantages of choosing either one (or both). After a short overview of JSF/CDI scopes, each scope was detailed by covering fundamental knowledge, such as definition, usability, functionality, restrictions, and examples.

The chapter ends with a bunch of thoughts regarding beans injections. You can find several rules, tips, and bad practices commonly used in JSF applications mentioned out here.

See you in the next two chapters, where we will cover many kinds of JSF artifacts and configuration stuff.