IntelliJ IDEA 2021.1 Help

New BMP Entity Bean dialog

EJB Tool Window | context menu of a module with an EJB facet | New - BMP Entity Bean
EJB Tool Window | context menu of a module with an EJB facet | Jump to Source | New - BMP Entity Bean

Use this dialog box to create Bean Managed Persistence (BMP) Entity Beans.

ItemDescription
<ejb-name>In this text box, type the basic name to be used for generating the names of the EJB constituent classes. The rules for generating EJB names are configured in the Java EE Names dialog box.
PackageIn this text box, specify a fully qualified path to the package where the bean resides. If necessary, click the Browse button the Browse button and select the desired package in the project tree.
EJB ClassIn this text box, specify the name of the bean implementation class. If necessary, click the Browse button the Browse button to open the Choose EJB Class dialog box, where you can search for the desired class by name or select it in the project tree.
Primary Key ClassIn this text box, specify the class to be be used for accessing the primary key of the data source the entity bean is associated with. If necessary, click Browse the Browse button to open the Choose EJB Primary Key Class dialog box, where you can search for the desired class by name or select it in the project tree.
CMP versionThis read-only field shows the Container Managed Persistence (CMP) version used.
Remote InterfaceSelect this checkbox if you want to configure a remote client view of the bean.
HomeIn this text box, specify the implementation class for a remote home interface. If necessary, click Browse the Browse button to open the Choose EJB Home Interface dialog box, where you can search for the desired interface by name or select it in the project tree.
RemoteIn this text box, specify the implementation class for a remote interface. If necessary, click Browse the Browse button to open the Choose EJB Remote Interface dialog box, where you can search for the desired interface by name or select it in the project tree.
Local InterfaceSelect this checkbox if you want to configure a local client view of the bean.
Local HomeIn this text box, specify the implementation class for a local home interface. If necessary, click Browse the Browse button to open the Choose EJB Local Home Interface dialog box, where you can search for the desired interface by name or select it in the project tree.
LocalIn this text box, specify the implementation class for a local interface. If necessary, click Browse the Browse button to open the Choose EJB Local Interface dialog box, where you can search for the desired interface by name or select it in the project tree.
Last modified: 08 March 2021