title: How can I call a method in an object from outside the JVM?
body: <p>I have a really simple Java class that effectively decorates a Map with input validation, with the obvious void set() and String get() methods.</p>
  
  <p>I'd like to be able to effectively call those methods and handle return values and exceptions from outside the JVM, but still on the same machine <strong>Update: the caller I have in mind is not another JVM; thanks @Dave Ray</strong></p>
  
  <p>My implementation considerations are typical </p>
  
  <ul>
  <li>performance</li>
  <li>ease of implementation and maintenance (simplicity?)</li>
  <li>reliability</li>
  <li>flexibility (i.e. can I call from a remote machine, etc.)</li>
  </ul>
  
  <p>Is there a 'right way?' If not, what are my options, and what are the pro/cons for each?</p>
  
  <p>(Stuff people have actually done and can provide real-life feedback on would be great!)</p>