Your First Cup: An Introduction to the Java EE Platform

ProcedureCreating the Managed Bean Class.

Create a JavaServer Faces managed bean class that will subsequently be modified.

  1. Right-click the firstcup.web package in the Projects pane.

  2. Select New -> Other.

  3. Select JavaServer Faces under Categories, then JSF Managed Bean under File Types.

  4. Enter DukesBDay in the Class Name field.

  5. Select firstcup.web in the Package field.

  6. Select session under Scope.

  7. Click Finish.