Backing Beans
|
Managed Beans
|
A backing bean is any bean that is referenced by a form.
|
A managed bean is a backing bean that has been registered with JSF (in faces-config.xml) and it automatically created (and optionally initialized) by JSF when it is needed.
|
The advantage of managed beans is that the JSF framework will automatically create these beans, optionally initialize them with parameters you specify in faces-config.xml,
| |
Backing Beans should be defined only in the request scope
|
The managed beans that are created by JSF can be stored within the request, session, or application scopes
|
Saturday, 5 September 2015
What are the differences between a Backing Bean and Managed Bean?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment