Explain JSF – Managed Beans ?

Answer

Managed Bean is a regular Java Bean class registered with JSF. In other words, Managed Beans is a java bean managed by JSF framework.
1: The managed bean contains the getter and setter methods, business logic or even a backing bean (a bean contains all the HTML form value).
2: Managed beans works as Model for UI component.
3: Managed Bean can be accessed from JSF page.
4: In JSF 1.2,a managed bean had to register it in JSF configuration file such as faces-config.xml.
5: From JSF 2.0 onwards, Managed beans can be easily registered using annotations. This approach keeps beans and there registration at one place and it becomes easier to manage.

All jsf Questions

Ask your interview questions on jsf

Write Your comment or Questions if you want the answers on jsf from jsf Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---