title: Connection between two servers in Java using RMI
body: <p>I am creating a simple distributed system using RMI and CORBA. </p>
  
  <p>I have a main server which redirects to another two servers. </p>
  
  <p>The client sends request to the main server which redirects to the other two servers. </p>
  
  <p>The problem is that I cannot make the connection between the main server and the other two.</p>
  
  <p>I made a research and I found that i need an object inside the main server that get the requests from the client and has a references to proxy object 1 and 2(which are actually the other two servers), my actual question is how should I create this proxy object(I will appreciated if you give me an example or a link). </p>