When generating an EJB, classes and interfaces of the EJB are directly selected. The generation retrieves the classes used by the component, as well as the interfaces associated with the classes.
- Select to open the Generation dialog.
- Enter a directory in which to generate the files, and specify
whether you want to perform a model check (see Checking an OOM).
- [optional] Click the Selection tab and select the objects that you want to generate. By default, all objects are generated.
- [optional] Click the Options tab and
select any appropriate generation options (see Generating Java Files).
- [optional] Click the Tasks tab and
select any appropriate task to perform during generation (see Generating Java Files).
- Click OK to begin generation.
A progress box is displayed, followed by a Result list. You
can use the Edit button in the Result list to edit
the generated files individually.
- Click Close.
The ejb-jar.xml deployment descriptor is created in the META-INF directory and all files are generated in the generation directory.