Publishing J2EE enterprise application projects to a J2EE publishing server
The J2EE publishing server supports the publishing of J2EE enterprise application (EAR) projects, dynamic Web projects, and enterprise bean (EJB) projects. The J2EE publishing server does not support static Web projects.
Prerequisites:
- Create either an EAR project, dynamic Web project or EJB project.
- Create a server, selecting J2EE publishing server as the server type.
- Add the project to the server .
To edit the J2EE publishing server configuration:
- 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, you can edit the following columns after you have added projects to the server:
- Project Name. Name of the projects that are associated with this server. You can not edit, remove, or add associated projects.
- 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.