The J2EE publishing server supports the publishing of J2EE
enterprise application (EAR) projects, web projects, and enterprise
bean (EJB) projects. In previous versions of the workbench, the J2EE
publishing server does not support static web projects.
Before you begin
- Create either an EAR project, web project or EJB project.
- Create a server,
selecting J2EE publishing server as the server type.
- Add the project to the server .
About this task
To edit the J2EE publishing server configuration:
Procedure
- In the Servers view, open the server editor by double-clicking
your J2EE publishing server.
- You can edit the following settings:
- HTTP port number The default
HTTP port number is set to 80. Change the HTTP port number by selecting
the field.
- In the Publishing settings table, the Project
Name column lists the name of projects that are associated
with the server. You can edit the following columns after you have
added projects to the server:
- Document Root Relative URL The relative
path to the project off the server root after publishing. For example
if the Document Root Relative URL is /projects/myProject,
then the project will be published to document_root/projects/myProject
- Alias The Alias is an alternative name
used to specify a server relative URL.
- Save your changes.
- To publish using the J2EE publishing server, in the Servers
view, select the J2EE publishing server that you want to publish.
- On the Servers view toolbar, click Publish
to the server, or right-click the server
and select Publish.