You can define the bean class and package by means of editing the source code, or use the tools provided byIntelliJ IDEA.
-
Open the New Bean dialog box.
Alternatively, open the desired bean for editing, and click the Change EJB Classes button.
- In the <ejb-name > field, specify the bean name that will be complemented with a prefix and suffix configured in the Java EE Names tab of the Global Code Style dialog box.
- In the Package field, specify the name of the package where the bean will reside. In the EJB class field, specify class name for this bean.