Why don’t one just put files in a sub directory under webapps directory?
Are there any advantages of WAR in server performance?
Why don’t one just put files in a sub directory under webapps directory? Are
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no performance benefit in using WAR files. Indeed, a typical web container unpacks the deployed WAR file into the the webapp’s directory before running the webapp … and this takes time.
The real benefit of WAR and EAR files is in simplicity of deployment … assuming that you are not doing something unsound like developing code on a live production server.