IntelliJ IDEA 2021.2 Help

Define bean class and package

You can define the bean class and package by means of editing the source code, or use the tools provided byIntelliJ IDEA.

To define bean class and package

  1. Open the New Bean dialog.

    Alternatively, open the desired bean for editing, and click the Change EJB Classes button.

  2. 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.

  3. 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.

Last modified: 08 March 2021