JSF managed beans are JavaBean components that are managed by a JSF implementation. A JSF managed bean describes how a bean is created and managed.
The New JSF Managed Bean wizard creates a new JSF managed bean. You open the New JSF Managed Bean wizard by right-clicking a web application, choosing New > Other and selecting JSF Managed Bean from the Java Server Faces category.
In the Name and Location page, you have to set the following properties:
faces-config.xml
).
If you are using JSF 2.0, you do not need a configuration file. The managed bean is registered with the application using annotations. If you want to register the managed bean in a configuration file and your application does not have one, select the 'Add data to a configuration file' option and the wizard will create one for you.)
If you are using JSF 1.2 and your application not have a configuration file, you cannot proceed with the wizard. To create a new configuration file, use the JSF Faces Configuration wizard. (Coose File > New File. Select the JavaServer Faces category and JSF Faces Configuration file type.)
service
method returns.
This is the most common scope usage in web applications, and is the default setting
for the IDE.