O'Reilly logo

Java EE Development with Eclipse by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a managed bean

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:

Creating a managed bean

Select the ManagedBean tab. Click on Add to add a managed bean, as follows:

Creating a managed bean

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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required