New Session Beans for Entity Classes: Generated Session Beans

See Also 

This wizard generates Session EJB Facade classes based on the entity classes that you specify. In this wizard you choose from the available entity classes in your module. The IDE then generates a session class with basic access methods and the required interfaces for each entity class.

You open the wizard by right-clicking an EJB module node and choosing New File/Folder, selecting the Persistence category and then selecting Session Beans for Entity Classes.

In this page of the wizard you set the following:

  1. Project. Displays the project where the entity classes will be saved. This field is read only.
  2. Location. Select the source folder where you want to create the entity class.
  3. Package. Select an existing package from the Package drop-down menu or type the name of a new package.
  4. Create Interfaces. Select the session facade interfaces that you want the wizard to generate.

When you click Finish, the IDE generates the session bean classes and interfaces and opens the classes in the Source Editor.

See Also
About Session Beans

Legal Notices