New JSF Managed Bean Wizard: Name and Location
See Also
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 > File/Folder and selecting JSF Managed Bean from the Web category.
In the Name and Location page, you have to set the following properties:
- Class Name. Specifies the JSF managed bean class name.
- Location. Specifies a folder to house the JSF managed bean.
- Package. Specifies a package within the location to house the JSF managed bean.
- Configuration File. Specifies the JSF configuration file. If none exists, you cannot create
a JSF managed bean. To create a JSF configuration file quickly and efficiently, right-click the project node, choose Properties
and use the Frameworks panel. Not only does this provide you with a JSF configuration file, but you also
get the JSF 1.1 libraries and a welcomeJSF.jsp file.
- Scope. Sets the scope of the JSF managed bean. Defaults to request.
- Bean Description. Sets a description for the JSF managed bean.
- See Also
- About Web Application Frameworks
- Creating a New Application with JSF Support
- Adding JSF Support to an Existing Application
Legal Notices