Import EJB dialog box

The Import EJB dialog box imports an existing enterprise bean into an EJB module. You'll find this useful if you want to import a bean from one EJB module to another or if you've obtained a bean that has no accompanying deployment descriptors.

To display the Import EJB dialog box, click the Import EJB icon on the EJB Designer toolbar or right-click the EJB Designer pane and choose Import EJB.

The source code of the bean you are importing must be in the project's source path.

Bean Name

The name of the enterprise bean you are importing.

Bean Type

The bean type of the bean you are importing. Use the drop-down list to specify CMP 2.0, BMP, Session, or Message-Driven bean.

Bean Class

The name of the bean class. Use the ... button to navigate to or search for the bean class.

Home Interface Class

The name of the home interface if the bean you are importing has one. Use the ... button to navigate to or search for the home interface.

Local Home Interface Class

The name of the local home interface if the bean you are importing has one. Use the ... button to navigate to or search for the local home interface.

Remote Interface Class

The name of the remote interface if the bean you are importing has one. Use the ... button to navigate to or search for the remote interface.

Local Interface Class

The name of the local interface if the bean you are importing has one. Use the ... button to navigate to or search for the local interface.

Primary Key Class

The name of the primary key class, if the bean is an entity bean. Use the ... button to navigate to or search for the primary key class.