EJB Module wizard

This is a feature of JBuilder Enterprise.

The EJB Module wizard creates an EJB module that contains minimal deployment descriptors with no enterprise bean defined. You then add to the deployment descriptors as you create enterprise beans using JBuilder's EJB wizards and designers. An EJB module is a logical grouping of one or more beans that will be deployed in a single JAR file. When you finish the wizard, the new empty 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 icon.

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.

Version

Specify which EJB specification you want your EJBs to be compliant with: EJB 1.x or EJB 2.0.

Output JAR File

The JAR file is created when you build the EJB module after adding one or 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.

When you click OK, the wizard disappears and the EJB Designer appears.