title: When does RMI make TCP connections?
body: <p>I have a test program <strong>T</strong> which:</p>
  
  <ul>
  <li>Acquires a stub for a <code>Remote</code> object O from an RMI registry on server <strong>S</strong></li>
  <li>In hundreds of parallel threads, invokes methods on this object <strong>O</strong>.</li>
  </ul>
  
  <p>I can see that server <strong>S</strong> has many "RMI TCP Connection" threads. I had expected there to be only one, since there is only one stub of <strong>O</strong> on <strong>T</strong>. How does this work?</p>