Server User Manual

Table Of Contents
Chapter 4: Configuring the target server settings 25
Selecting a server
To use different servers for different services,
1 Select the Modular Services Provided By Different Servers option.
2 Check the check boxes next to all the services for which you want to specify
an application server in the Services list.
3 Click one of the checked services to select it in the Services list.
4 In the Service Properties For Project group box, use the Server drop-down list
to select the server you want to use for this service.
If server-specific properties are available for the server you selected for the
particular service you are working with, they will appear below the Server
drop-down list. If the Deployment service is selected, a Build Target For
Deploying To Server drop-down list appears on the Service Properties For
Project panel. Select the type of build you want to occur. If the EJB service is
selected, youll see read-only information appear that is intended to help you
decide which server is appropriate for your needs.
If you select the JSP/Servlet service, the Default Runtime Host Name and
Default Runtime Port Number fields are available to you. The default values
refer to the global server configuration. If you change these values, they are
used for all server run configurations created after you made the change.
If you expand the Deployment service node, you can select from several
subnodes that have accompanying properties. The properties vary depending
on which is your selected server. All servers have a Build Target For
Deploying To Server field, however. Select your desired build option from the
drop-down list.
For Borland Enterprise Server only
The Deployment jndi-definitions.xml option determines whether the
jndi-
definitions.xml
file is included in any of the deployment actions you select.
Uncheck it if you dont want it included.
jndi-definitions.xml is an XML
deployment descriptor for EJB 2.0 resources.
For WebLogic 7.x – 8.1
If you expand the WebLogic Deployment service node and select the WARs
node, the service properties include a Map Project Webapps At Runtime
option. When this option is selected (the default value) all web applications in
the project deploy from the web application directory and not as a WAR when
the server starts up.
If you expand the WebLogic Deployment service node and select the EARs
node, the service properties include a Map Project EJB Modules At Runtime
option. When this option is selected (the default value) all EJBs in the project
deploy from the EJB directory and not as a EAR when the server starts up.
All the WebLogic Deployment service nodes have Deploy As Archive and
Deploy As Exploded Directory options. Checking the Deploy As Archive option
enables the archive to be deployed. Checking the Deploy As Exploded
Directory option means the archive is exploded into a directory as its contents
are deployed instead.
If you select the EJB service, the service properties include a combo box with
options to deploy data sources for all EJB modules in the project. These are
the options:
Map Project Data Sources: Maps data sources for all EJB modules in
config.xml for the domain specified in the server configuration. DataSource
entries are removed when the server shuts down.
Map And Persist Project Data Sources: Maps data sources for all EJB
modules in
config.xml for the domain specified in the server configuration.