View RSS Feed


JSF Managed Bean

Rate this Entry
, 01-02-2012 at 07:51 PM (1385 Views)
JSF managed beans are defined in configuration file and these are java beans to hold data from JSF components. They represent data model and are passed between JSF business logic and JSF pages.

Following are the main features of managed beans.
They use declarative model
They provide an entry point
Beans with various states

Following code shows a managed bean which has a session scope. Instance of this managed bean is created at the start of a user session.

XML Code: Managed Bean Tags

Submit "JSF Managed Bean" to Facebook Submit "JSF Managed Bean" to Digg Submit "JSF Managed Bean" to Submit "JSF Managed Bean" to StumbleUpon Submit "JSF Managed Bean" to Google

Updated 01-14-2012 at 07:30 PM by JSF

Managed Bean