0

What is the recommended procedure for deployment of Java Web App in tomcat? Drop the uncompressed directory or just drop the war? Im asking because the war is compressed, doesnt it have a performance cost?

3 Answers 3

1

By default, Tomcat will uncompress your WAR during deployment, so the only penalty you will pay is for the time to decompress the WAR file at that time (which shouldn't be much).

I find WAR files to be more convenient for deployment because you just copy a single file instead of doing a recursive-scp or something like that.

1
  • I feel better knowing that. May 25, 2012 at 14:57
1

Deployment performance cost should not be a thing to worry about.

The only way to answer your questions is to make a real test, 'cause it depends on your application size, number of files in it, server parameters and many other things.

0

It didn't have any noticeable performance as far as I remember but also have in mind that you need to construct and redeploy the whole WAR file each time you want to push an update (even for just one .class)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .