Using the Management Console, you can import Web applications into EAServer or export Web applications from EAServer to deploy them on another server. EAServer supports two archive formats for Web applications:
J2EE Web archive (WAR) The WAR format is the standard for servers that support J2EE. This format allows portability to other vendor’s J2EE servers. See “Deploying Web applications” in Chapter 1, “Defining Web Applications,” in the EAServer Web Application Programmer’s Guide.
EAServer JAR For exporting between EAServer 3.6 or later servers. This format, while proprietary, preserves all information in the Web application. When importing, EJB references, resource references, and role mappings are preserved. You must ensure that the referenced items are in place before running the imported Web application.
Highlight the top-level Web Applications folder, right-click, and select Deploy.
The Deploy wizard guides you through the process of deploying a WAR or EAServer JAR file.
In the Deploy wizard:
Use the Browse button to locate the archive file that you are importing.
Enter the full path of the directory where you want the archive to be unbundled. This directory becomes the root directory from which the JAR file is unbundled. Unbundling creates the subdirectories, class files, DLLs, and any other files that were included in the exported JAR file.
The Deploy wizard reads the file and creates the Web application. Any errors are displayed in the status window. Review the status information, then click Close.
To export a Web application, create an export configuration that includes the Web application—see Chapter 7, “Exporting Server Modules.”