title: how to learn Java RMI quickly
body: <p>I have a Java application I've been working on for a year or two now. I would like to create a very simple set (with potential to add complexity later) of interfaces that I can use to control my Java app from another JVM (e.g. MATLAB).</p>
  
  <p>I am assuming RMI is the best way to do this, but I'm not sure, as I know next to nothing about it.</p>
  
  <p><strong>What is the best way to learn RMI quickly?</strong></p>
  
  <p>Let's say I want to use an interface like this:</p>
  
  <pre><code>interface Application {
     public void setLoggingEnabled(boolean enable);
     public boolean isLoggingEnabled();
  }
  </code></pre>
  
  <p>How could I implement a bridge between the two JVMs with this interface using RMI? What do I have to know about blocking / threading / synchronization to make this work?</p>