Discussion Locked

Deploy resources with WAR files

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Using WAR files to deploy Java Web applications to a server would seemingly simplify the process. What do you think?

2 replies

by whoiskevin

WAR files are very useful for deploying applications and I use them on a regular basis. However, I think this tip should mention that the WAR files are not automatically expanded by all application environments.
For instance, Tomcat doesn't automatically expand WAR files. You must stop Tomcat and remove the expanded directory in order to force it to expand the new WAR file. JBOSS does autoexpand WAR files and some other environments do as well.

This discussion is closed to new replies.