IntelliJ IDEA 14.0.0 Web Help

New CMP Entity Bean Dialog

EJB Tool Window | context menu of a module with an EJB facet | New - CMP 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 Container Managed Persistence (CMP) 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 browseButton 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 browseButton 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 used for accessing the primary key of the data source the entity bean is associated with. If necessary, click the Browse button browseButton 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 From this drop-down list, select the Container Managed Persistence (CMP) version to be used.
Remote Interface Select this check box 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 the Browse button browseButton 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 the Browse button browseButton 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 check box 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 the Browse button browseButton 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 the Browse button browseButton 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.

See Also

Last modified: 12 November 2014
comments powered by Disqus