A managed bean is a Java bean managed by the JSF Managed Bean Facility. A managed bean is registered with JSF and instantiated when first invoked. In this section, we will create a JSF managed bean for the Facelets composition pages. Right-click on
faces-config.xml and select Open With | Faces Config Editor, as shown in the following screenshot:
The Faces Config Editor gets started. Click on Add to add a managed bean, as shown in the following screenshot:
In the New Managed Bean Wizard, select Create a new Java class in Java ...