Your First Cup: An Introduction to the Java EE Platform

ProcedureCreating the DukesBirthdayBean Enterprise Bean Class

Follow these steps to create the enterprise bean class in NetBeans IDE.

  1. Select firstcup project in the Projects tab.

  2. Select File -> New File.

  3. Select Java EE in the Categories pane.

  4. Select Session Bean in the File Types pane and click Next.

  5. Set EJB Name to DukesBirthdayBean.

  6. Set the Package name to firstcup.ejb.

  7. Select Stateless under Session Type.

  8. Click Finish.