Server User Manual

Table Of Contents
Chapter 7: Using JBuilder with BEA WebLogic servers 65
Selecting a server
You can click the Help button on this page for assistance using this page to select a
server.
JBuilder can target multiple servers. You can choose a single application server for all
stages of EJB and web application development, or you can choose different servers
for different aspects of development. For example, you can select one server to use to
develop enterprise beans and another to develop web applications.
Decide whether you want to use a single server for all aspects of development or
different servers to handle different areas of development.
To use a single server,
a Select the Single Server For All Services In Project option and select the server
from the drop-down list.
b If you want to make changes to the configuration settings for the server, click the
ellipsis () button and edit the settings you want on the General and Custom
pages. Click OK.
You can also use this dialog box to select a different server.
To use different servers for different services,
a Select the Modular Services Provided By Different Servers option.
b Check the check boxes next to all the services for which you want to specify an
application server in the Services list.
c Click one of the checked services to select it in the Services list.
Note that the web module wont be deployed automatically if it is part of an EAR.
d 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.
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