Creating our managed bean
JSF managed beans are standard JavaBeans that are used to hold user-entered data
in JSF applications.
In order to create a new managed bean, we need to go to File | New File... , select
JavaServer Faces from the category list, and JSF Managed Bean from the file type list.
On the next screen in the wizard, we need to enter a name for our managed bean, as
well as a package: