i already have one web application up on port 8080 on tomcat. Now i have another web application which i have got as war file. Both webapplications will be communicating with each other. i have been told by my senior to deploy this second web application on different tomcat directory on same machine. While doing this i came up with these two another options:-
1) we can deploy second webapplication on different port say 8888 on first tomcat directory itself.
2) we can deploy second webapplication on same port on first tomcat directory itself.
Option3 as suggested by my senior :- Deploy second webapplication on another tomcat directory on same machine itself.
As per my understanding there is no difference among above three options. Is that correct?
i am not getting the rationale behind deploying second webapplication on another tomcat directory which is on same machine itself ?
This question is same as at Installing two different webapplication on two different installed tomcat directory on same machine? but some body closed it marking it duplicate which is not as This question is not about how to deploy but it is about choosing the right option .So its not duplicate entry. Please answer the question.