Server page (Project Properties dialog box)

This is a feature of JBuilder Enterprise.

To access the Server page, choose Project|Project Properties and click the Server tab.

Use the Server page to select one or more servers to provide the services you need for your current project. Before you can select one or more servers, you can configure the server(s) you want to use for your project using the Configure Servers dialog box. You can also select the ... button on next the server name to configure the servers you need. Once you do, they will then appear in the drop-down list.

Single Server For All Services In Project

Select this option if you want a single server to provide all the services your project needs. Once you click the option's radio button, select the server you want to use from the drop-down list. Only the servers that you have configured using the Configure Servers dialog box will be available to you. If a server appears in red type, the server has not been properly configured.

When you select a server to provide all services, the Services list shows all services the selected server provides in dark, bold type. Remaining services are displayed in light type, indicating that they are not available to you.

If you want to avoid having libraries added to your project that you won't use, you can try unchecking the check box in front of the services you don't need in the Services list. Disabling services might reduce the number of libraries, depending on the server plugin. Disabling a service disables all corresponding features, so they can't be invoked. Also disabled features are removed from the server's runtime list, so they might run more efficiently. (Again, the result depends on the particular server plugin being used.) Disabling a service at the project level means you won't have to disable the service in each individual run configuration.

You can use the ... button to display the Configure Servers dialog box to customize the configuration settings for the selected server.

Modular Services Provided By Different Servers

Select this option if you want to specify different servers to provide the various services your project needs. You then select the services you want from the Services list and assign a server for each service you selected.

Services

The Services pane lists the possible services provided to a project. Selecting the Modular Services Provided By Different Servers option enables all the services in the list. Check each service your project requires in the list of services, unchecking all others. Then use the Service Properties For Project options to specify a server for each server you selected.

Service Properties For Project

Server

Select a service in the Service pane by clicking it if you haven't done so already. Use this option if you have selected the Modular Services Provided By Different Servers option. From the Server drop-down list, select the configured server you want to perform the selected service. Assign a server for each service you want for your project.

You can use the ... button to display the Configure Servers dialog box to customize the configuration settings for the selected server.

When you select a service, the panel to the right of the list of services displays service-specific properties if there are any. Properties are available for the Deployment, EJB, JDataStore, and JSP/Servlet services if these servuces are enabled for your selected server. For information about these properties, click the Help button after you have selected one of these services.