About Deploying Web Modules

When you execute a web module from the IDE, the IDE takes care of deploying the web module to the server's specified base directory. The base directory is typically under the IDE's user directory. When the web module is ready for use by others, you might want to deploy the web module to production server. Or, you might want to deploy a stable copy for use by others while you continue developing the one that is in your IDE user directory.

Typically, you deploy a web module to a production web server by supplying a web archive (WAR) file that contains all the necessary components. Often, deployment is as simple as exporting the web module as a WAR file into the appropriate directory for the production web server, and restarting the web server.

To deploy to the Tomcat server, export the WAR file to the server's webapps directory. To deploy to the Application Server, access the server's Administration interface, navigate to the Web Applications page, click Deploy, and choose the WAR file that you exported from the IDE.

Some servers do not support web modules in WAR format. In such cases, it might be necessary to extract the WAR file within the server before deploying. For details on whether the server you intend to use supports JSP files and WAR files, see the documentation accompanying your server.


Legal Notices