Pro JSF and Ajax
to the application logic--backing code or backing bean. Managed beans are defined in the
faces-config.xml
Mind, and Oracle ADF model binding (JSR-227). The managed bean facility is responsible for
creating the backing beans or other beans such as Data Access Objects (DAO). In JSF, a back-
ing bean is a plain old Java object (POJO) with no dependency on implementation-specific
interfaces or classes. The aforementioned JSF controller--the FacesServlet--is not aware of
what action has been taken; it is aware only of the outcome of a particular action and will use
that outcome to decide where to navigate. In JSF it is the component that is aware of which
action, or method, to call on a particular user event. Code Sample 1-2 shows a managed bean
defined in the faces-config.xml file.
<managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>