Use the EJB JAR dialog box to create or select an EJB JAR file
to contain your enterprise bean, determine its content, and enter
its general settings.
Providing the EJB JAR
If you do not already have a JAR file in which to
package the enterprise bean:
Select the enterprise application that will contain the new JAR file
from the Create New JAR File in Application drop-down list.
Enter a display name for the JAR file in the JAR Display Name
field. This name will be displayed in the Deploytool's tree.
If you have a JAR file in which to package the enterprise bean,
select the JAR File from the Add to Existing JAR File menu.
Adding Content to EJB JAR
Fill the selected EJB JAR with desired content:
In the Contents panel of the EJB JAR dialog box, click
Edit to add files and directories to the EJB JAR file. This
will take you to the Edit Contents Dialog. If you
are creating an
or
bean, you must enter the
, along with the
, and/or
, and any helper classes. Where
either local or remote interfaces are specified, there will be a
specified of the same variety.
If you are creating a
bean, you must add the enterprise bean class.
Deleting Content From JAR
To delete a file or directory from the EJB JAR file,
select the file or directory from the Contents field
and click Delete.
Optional Settings
You may enter the following optional settings for your Ejb JAR:
Click Description to enter a description of the EJB JAR file.
Click Manifest Classpath to go to the Manifest Classpath dialog
and add a library JAR reference to the
. You select Library Jars in the application and Add them
to the Manifest Classpath field. JARs may be selected and Removed from the Manifest
Classpath when a mistake has been made.
Click Icons to go to the Icons dialog and choose the icon that
will represent the EJB JAR file in the tree. You can select only GIF or
JPEG files that are either 16x16 or 32x32. If you do not choose an
icon, the default icon will be used.
Click Deployment Settings to to go to the Deployment Settings dialog
to define the deployment settings of the JAR file. Deployment Settings
may be entered at any time before deployment.