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.
- Select any of the following options:
- In the Servers view (), right-click and select .
- In the menu bar, click File > New > Other.
Expand the Server folder, select Server and
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 text field under the Select
the server type label, you can replace the text type
filter text with keywords to filter the list of available
application servers. The following are examples of filter
keywords:
- Apache
- Filters the list of available servers where the vendor is Apache
- WebSphere
- Filters the list of available servers where the name is WebSphere
- ejb
- Filters the list of available servers that support ejb modules.
- web
- Filters the list of available servers that support Web modules
- 5.0
- Filters the list of available servers that are at version, 5.0
or supports JEE 5 specification level.
- 1.2
- Filters the list of available servers that supports J2EE 1.2 specification
level or any servers that may have a version-level of 1.2.
- Click Next and follow the instructions
in the wizard to specify the details of the server that you want to
create.
- Click Finish. The new
server appears in the Servers view under the Server column.