EJB JAR

A JAR file must be created to contain the enterprise bean. You can create a new stand-alone JAR module, create a new JAR file in an application, or add this bean to an existing JAR file. This page of the Edit Enterprise Bean Wizard enables you to specify and/or create the EJB JAR file that will contain your enterprise bean and determine its content.

Selecting the Location of the EJB JAR

Select a location to either create a new JAR module (as part of an application or stand-alone JAR), or select an existing JAR or EAR to which you want to add this enterprise bean.

JAR Naming

Use this section to provide the location of the JAR file and the name under which it will display in the deploytool tree.

Adding Content to EJB JAR

Select the Edit button beside the Contents box to browse to select and add the class files for the enterprise bean and interface files that you want to include in this JAR file.

This will display the Edit Contents Dialog. Select the files in the top pane, then select the Add button. If you are creating an or bean, you must enter the , the , and/or and any helper classes. When local or remote interfaces are specified, there will be a specified of the same variety.

If you are creating a bean, you must specify the enterprise bean class.

Deleting Content From JAR

In the Edit Contents dialog, select the file or directory from the Contents field and click Remove.

Optional Settings

You may enter the following optional settings for your EJB JAR:


Legal Notices