title: Cross context communication between two web application deployed on same tomcat server
body: <p>I have two web application, <strong>webAppMaster</strong> and <strong>webAppSlave</strong>, deployed in same tomcat server. Now in <strong>webAppMaster</strong> application, there is a java class, <strong>RequestHandler</strong> whose <strong>processRequest</strong> method takes a <strong>customObject1</strong> as parameter and returns <strong>customObject2</strong>. Now, from <strong>RequestCreator</strong> class of <strong>webAppSlave</strong> application, I want to invoke <strong>processRequest</strong> method of <strong>RequestHandler</strong> class of <strong>webAppMaster</strong> application. How this should be done ?
  Thanks in advance.</p>