To distribute a Java EE application to the operating environment, an archive file must be created. Use the server deployment function to deploy the created archive file to the server.
Creating an Archive File
Use the Export wizard to create the archive file.
Export
Launching the Export wizard
Select [File] > [Export].
Entering settings items
Export destination
Project | Export destination |
---|---|
EJB Project | [EJB] > [EJB JAR file] |
Enterprise Application Project | [Java EE] > [EAR file] |
Application Client Project | Export the project as an EAR, because the project is included in the application created in enterprise application project. Use the following if exporting it on a standalone basis: |
Dynamic Web Project | [Web] > [WAR file] |
JPA Project | Export the project as an EAR or a WAR because the project is included in the application created in enterprise application project or in dynamic web project. Use the following if exporting it on a standalone basis: |
Module
Specify the project to be exported.
Destination
Specify the creation destination of the archive file.
Point
When an enterprise application project is exported, an EAR file containing the archive files of each of the projects included in the enterprise application project is created. Therefore, individual archive files need not be created.
Of the JAR files included in the build path, those that cannot be included in the EAR must be set in the server classpath.
Deploying to the Server
Use the server deployment function to deploy the application to the server.
For details of deployment, refer to separate documentation concerning the Java EE execution environment of Interstage Application Server.