+

Search Tips   |   Advanced Search

 

Change or adding WAR files

 

You can change Web application archives (WAR files) on appservers without having to stop the server and start it again.

 

Overview

There are several changes that you can make to WAR files without stopping the server and starting it again.

See Ways to update application files and determine whether hot deployment is the appropriate way for you to update your WAR files. Other ways are easier and hot deployment is appropriate only for experienced users. You can use the update wizard of the console to make the changes without having to stop and restart the server.

The following table lists the changes that you can make by manipulating a WAR file on the server where the application is deployed. The table also states whether you use hot deployment or dynamic reloading to make the changes.

Change Hot deployment Dynamic reloading
Change an existing JavaServer Pages file. Not applicable Yes
Add a new JSP file to an existing application. Yes Yes
Change an existing servlet class by editing and recompiling. Not applicable Yes
Change a dependent class of an existing servlet class. Not applicable Yes
Add a new servlet using the Invoker (Serve Servlets by class name) facility or add a dependent class to an existing application. Yes Not applicable
Add a new servlet, including a new definition of the servlet in the web.xml deployment descriptor for the application. Yes Not applicable
Change the web.xml file of a WAR file. Yes Yes
Change the ibm-web-ext.xmi file of a WAR file. Not applicable Yes
Change the ibm-web-bnd.xmi file of a WAR file. Not applicable Yes

 

Procedure



Hot deployment and dynamic reloading
Start applications with scripting
Stopping applications with scripting