The Add Contents to JAR dialog box enables you to add individual files or
whole directories to your EJB .jar file. You must add your enterprise
bean class, remote interface and home interface to the JAR file with this dialog
box.
Click Browse to select the root directory of the files and directories
that you want to add. For example, if your class files are part of a package
called adder and your directory structure looks like:
Select the directory or file that you want to add from the root
directory structure. If you chose examples in the previous
step, all of the files and directories contained in examples are
displayed in the root directory structure.
Click Add to add the selected directory or file to
the .jar file. If you chose examples as your root
directory and added Adder.class to the EJB .jar
file, adder/Adder.class or adder\Adder.class should
appear in the lower text field.