J2EE Deployment wizard

The J2EE Deployment wizard deploys the J2EE modules you specify to the partition of the application server you select.

To display the J2EE Deployment wizard, choose Tools|EJB Deployment when Borland Enterprise Server is your selected application server. When the wizard appears, it searches for available partitions on running application servers. If partitions on one ore more running application servers are found, they are listed in the drop-down list of the Target Partition field.

Deploy a set of modules to a partition

Select one or more J2EE modules to deploy by clicking or Ctrl-clicking them in the list box.

Add button

Click the Add button to add one or more J2EE modules to the list box. A Select File dialog box appears for you to use to specify the module(s) you want to add.

Remove button

To remove a module from the list box, select it and click the Remove button.

DD Editor

This button is disabled in JBuilder. For information about using the Deployment Descriptor editor in JBuilder, see "Using the Deployment Descriptor editor."

Assemble

Displays the Application Assembly Tool. For information about the Application Assembly Tool, see the Borland Enterprise Server documentation.

Target Partition

Lists the available partitions on running application servers. When the wizard first appears, it searches for all available partitions. If none are found, it displays the message <No partitions found>.

Additional Options

Restart Partition On Deploy

Restarts the partition when the modules you selected are deployed.

Verify Deployment Descriptors

Verifies that the enterprise bean deployment descriptors are valid according to the EJB 1.1 or 2.0 specification.

Generate Stubs

Select this option to generate the stubs for your enterprise beans. Use the Advanced Options button, then click the Stub Generator page if you want to add archives or directories to the classpath before you generate and if you want to send arguments to the java2iiop compiler, which generates the stubs.

Advanced Options

The Advanced Options button takes you to a multi-page dialog box that includes these options.

Partition Discovery page

This page contains just one option: Management Port. Specify or modify the port used to locate running partitions.

Stub Generation page

This page contains options for generating the stubs using the java2iiop compiler.

Generate Stubs

Select this option to generate the stubs for your enterprise beans before they are deployed. This option is checked if you checked the option with the same name on the previous page of the wizard.

Classpath

Use this field in conjunction with the Edit button to find the archives or directories you want added to the classpath.

Edit button

Displays the Classpath Editor to allow you specify what you want added to the classpath before the stubs are generated.

Arguments

Specify the arguments you want passed to the java2iiop compiler.

More Info

Displays the arguments you can pass to the java2iiop compiler.

Verifier page

The page contains options for verifying the deployment descriptors for their adherence to the EJB specifications.

Verify Deployment Descriptors

Verifies that the enterprise bean deployment descriptors are valid according to the EJB 1.1 or 2.0 specification. This option is checked if the option by the same name of the first page of the wizard is checked.

Show All Warnings

Select this option if you want to see all the warnings from the verifier.

Use Strict (Pedantic) Checks

Select this option for strict checking by the verifier.