title: is it possible to pass by reference in RMI?
body: <p>I have read various articles about passing variables around using RMI. </p>
  
  <p>Some of them say that it is impossible to pass variables by references in RMI. e.g.: <a href="https://stackoverflow.com/questions/3591162/pass-by-reference-problem-in-rmi">this one</a> and <a href="https://stackoverflow.com/questions/9486419/why-java-rmi-cant-get-return-value-by-reference">this one</a></p>
  
  <p>While others says that it is possible. e.g.:
  <a href="https://stackoverflow.com/questions/7368879/passing-object-reference-using-rmi">this one</a>, <a href="https://stackoverflow.com/questions/3087756/rmi-pass-by-value-or-by-reference">this one</a> and <a href="https://stackoverflow.com/questions/85085/pass-by-reference-not-returning-in-rmi-for-arraylist">this one</a></p>
  
  <p>can anyone clear this up please? :)</p>