IntelliJ IDEA 2019.2 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.

Item

Description

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

Package

In 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 Class

In 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 Class

In 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 version

This read-only field shows the Container Managed Persistence (CMP) version used.

Remote Interface

Select this checkbox if you want to configure a remote client view of the bean.

Home

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

Remote

In 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 Interface

Select this checkbox if you want to configure a local client view of the bean.

Local Home

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

Local

In 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: 28 August 2019

See Also