You can create a server to identify the runtime
environment that you want to use for testing your project resources. The term creating
a server defines creating a pointer from the workbench to an existing
installation of an application server or
server profile.
To create a server:
- In the menu bar, click File > New > Other.
- Expand the Server folder and then select
Server.
- Click Next. The New Server wizard
opens. This wizard defines a new server, that contains information required
to point to a specific runtime environment for local or remote testing, or
for publishing to an application server.
- In the Server's host name field, you can
provide the fully qualified DNS name or IP address of the host machine that
where the server is running. By default, this field is pre-filled with the
default address: localhost
- In the Select the server type list, select
the type of server or test environment where you want to publish or test your
resources.
- (Optional) Refer to the Description section
for brief details about the server you have selected.
- (Optional) In the View By drop-down list,
select how you would like to display the list of available servers in the Select
the server type list:
Option |
Description |
Name |
Alphabetically sorts the list of available
servers. |
Vendor |
Categorize the list of available
servers in vendor-specific folders. |
Version |
Categorize the list of available
servers in folders based on the version of the servers. |
Module Support |
Categorize the list of available
servers based on the supported J2EE module specification level by the server. |
- Click Next and follow the instructions in
the wizard to specify the details of the server that you want to create. For
more information about any of the fields on this wizard, select the field
and then press F1.
- Click Finish. The new server
appears in the Servers view under the Server column.