To create a managed bean for the Facelets, right-click on WebContent/WEB-INF/faces-config.xml and select Open With | Faces Config Editor, as shown in the following screenshot:
Select the ManagedBean tab. Click on Add to add a managed bean, as follows:
In the New
Managed Bean Wizard dialog box select Create a new Java class and click on Next. Select Facelets/src as Source folder, and catalog.backing as Package. Specify the Java class name as
Catalog in the Name field and click on Next, as shown in the following screenshot: ...