You can create a managed bean and add it to your Web application
to bind bean properties and business logic to the user interface
components of the Java ServerPage (JSP).. Using the New Managed Bean
wizard, you can creat a managed bean from an existing Java class or by
creating a new Java class.
To create a managed
bean:
-
Select faces-config.xml in the Project Explorer of the J2EE
perspective.
The JSF Application Configuration editor opens.
-
Select the ManagedBean tab of the
editor.
The ManagedBean page appears.
-
Click Add.
The New Managed Bean Wizard appears.
-
Follow the wizard instructions.
The wizard displays help that assists you in the decisions that
you need to make.
Note
Project names cannot contain spaces.
Faces ConfigEditor
Tutorial