how to communicate between 2 servlets which are present in two different web applications?
case1: two web applications are deployed in the same server (for example tomcat)
case2: two web applications are deployed in two different servers (for example tomcat and weblogic)