EJB Module From Descriptors wizard

This is a feature of JBuilder Enterprise.

The EJB Module From Descriptors wizard can import vendor-specific information in existing Borland and WebLogic deployment descriptor files when creating an EJB module. An EJB module is a logical grouping of one or more beans that will be deployed in a single JAR file. The wizard can also detect and update your project source directories using class names in the descriptors. When you finish the wizard, the new EJB module appears in the project pane.

To display the wizard, choose File|New, click the Enterprise tab in the object gallery, and double-click the EJB Module from Descriptors icon.

Enter new EJB module details

This is a feature of JBuilder Enterprise.

Specify the name, type, and JAR details for the new EJB module.

Name

Specify a name for your new EJB module. The name can be anything of your choosing.

Format

Specify the format of the new module. An EJB module can be one of two formats: XML or binary. Because an EJB module in XML format is basically a text file, it's easier to work with if you are using a version control system. An EJB module in binary format is essentially the deployment descriptors in a .zip archive.

Output JAR File

The JAR file is created when you build the EJB module after you've defined one more beans; it then appears as a node under the EJB module in the project pane.

Name

The name of the JAR file that is created. By default, the name of the JAR file is the name of the EJB module with a .jar file extension, but you can change the name of the JAR file if you wish.

Path

Specify the location of the JAR file that is created when the EJB module is built.

Use existing deployment descriptors

This is a feature of JBuilder Enterprise.

Specify which existing deployment descriptors you want in the new group.

Directory On Disk Or In JAR

Navigate to the directory where the existing deployment descriptors reside, or simply type in the name of the directory. The Finish button is disabled until you find a directory that contains deployment descriptors. When you are through using the wizard, the EJB module is made up of the deployment descriptors that are in this specified directory.

Identified EJB Descriptors

Lists all found EJB deployment descriptors

Displays a list of the deployment descriptors in the directory you specified in the Directory On Disk Or In JAR field.

Identified Root Source Directories

Lists the root source of directories that contain existing EJB deployment descriptors.

Add Root Source Directories To Project

Check this option if you want the root source directories that contain the deployment descriptors to your current project.