Chapter 4. Foundations

4.1. Managed Beans
4.2. User Interface Components
4.2.1. Base User Interface Components
4.2.2. Extended User Interface Components
4.2.3. Custom User Interface Components
4.2.4. Reusable User Interface Components
4.3. State Management
4.4. Ajax Support
4.5. Topic Requiring Discussion
4.6. Further resources
JSF Overview

Java Server Faces is a Model View Controller (MVC) framework used for developing User Interfaces (UI).......

Java Server Faces consists of the following components and features:

A Managed Bean or MBEan is a JavaBean which is created using dependency injection.....

Managed Beans and Java Server Faces

Managed Beans in Java Server Faces assist the developer by simplifying the use of Plain Old Java Objects (POJOs) and JavaBeans. Any class with a zero-argument constructor can be registered as a Managed Bean by including it in the faces.config.xml file.

Managed Beans Rules and Conventions

A managed bean, when used in the context of Java Server Faces has the following properties:

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

Section Feedback

JSF supports the following user interface components:

The base UI components of JSF include.....

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

Section Feedback

The extended UI components of JSF include....

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

Section Feedback

The custom UI components of JSF include....

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

Section Feedback

The reusable UI components of JSF include....

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

Section Feedback
Section Feedback

JSF manages state between requests by......

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

Section Feedback

Ajax is .....

JSF supports Ajax by ....

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

Section Feedback

This feature/component of JSF is .....

The Topic and Java Server Faces

The feature in Java Server Faces does this.........

The Feature Rules and Conventions

the feature, when used in the context of Java Server Faces has the following properties:

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

This is standard text. Its purpose is to fill out a particular section and provide structure for the book. Reading this text will not be particularly enlightening. This sentence is designed to break the monotony of the previous one. It is equally meaningless but could possibly break the boredom if you have read this far.

This paragraph is designed to break the monotony of the first paragraph. If you weren't bored before you will be by the time you finish this paragraph.

This is getting ridiculous. Stop reading this text. You will never recover.

Section Feedback
Background Information

Further information relating to JSF can be found at the following links:

Java's JSF Page

Page of Choice

Tutorials

JSF Tutorials can be found at the following links:

JSF Tutorials Net

Page of Choice

Page of Choice

Section Feedback