Creating the Managed Bean Class.
Create a JavaServer Faces managed bean class
that will subsequently be modified.
-
Right-click the firstcup.web package in the
Projects pane.
-
Select New -> Other.
-
Select JavaServer Faces under Categories, then JSF Managed Bean
under File Types.
-
Enter DukesBDay in the Class Name field.
-
Select firstcup.web in the Package field.
-
Select session under Scope.
-
Click Finish.