In this way, developers can be certain that the WAR file tested and verified is exactly the same as that which is being promoted to production.
consider web deployment using WAR files to be disadvantageous when minor changes to source code are required for dynamic environments.
[3] This does not require stopping the web server if configured for runtime deployment.
[4] The following sample web.xml file demonstrates the declaration and association of a servlet: The /WEB-INF/classes directory is on the class loader's classpath.
(The classpath consists of a list of locations from which .class files can be loaded and executed by the JVM.)