I was handed a tomcat6 web application and the previous developer told me to unzip new classes directly into the /var/lib/tomcat6/webapps/ROOT/WEB-INF/
folder and restart the service.
This was deemed better by him instead of placing the WAR in the webapps folder.
In which case is this better and under what conditions? I would like pros/cons and reasons for deployment through unzipping and deploying through WAR.
Is one accepted in the community more than the other?
1 Benefit of unzipping:
1 Benefit of deploying by WAR:
I don't think there's a definitive answer here. At least I've never head a truly compelling reason to always do one or the other. I'd say it's up to personal preference and that you should do what works best for you, your situation and your environment.
As requested, some pros & cons, although there's nothing mind blowing on this list.
Pros (for WAR):
Cons (against WAR):