title: Java RMI, making an object serializeable AND remote
body: <p>You might be thinking why would you want to have an object both Remote AND serializeable. Well let me give you some context.</p>
  
  <p>I'm building an air traffic control system (school project), it's distributed so that each control zone runs on it's own server and communicates with other control zones. Each control zone keeps track of its own aiplanes.</p>
  
  <p>When an airplane (flying in controlzone A) is 100km near its border, it is passed as a remote object to the controlzone (controlzone B) it's near to. This way controlzone B can see where the aiplane is (by periodical asking its position) while it's still controlled by controlzone A.</p>
  
  <p>But when an airplane crosses the border between controlzone A and B, controlzone B should keep track of the airplane instead of controlzone A. So we we want to serialize the airplane and pass it to controlZone B. This is where our problem lies. </p>
  
  <p>Can I make the airplane remote AND serializeable?</p>
  
  <p>EDIT: Also, I could use remote methods to copy the needed fields for the airplane, but I prefer serializing it.</p>