title: How to write java RMI callbacks or RMI Listener or bidirectional RMI
body: <p>I am writing an RMI application.</p>
  
  <p>I am able to perform RMI. Data are transferring between client and server via RMI.</p>
  
  <p>Client should be always up to receive/updates the server side data.</p>
  
  <p>Is it possible to have a listener which can transport or notify the data updates/modification from server to clients.
  I mean whenever data's are updated/modified at server side,client should be automatically updated.
  Please let me know, if there exist any RMI Call be listener which can be used for this task.</p>
  
  <p>Also, what are all the security standards to be followed while performing RMI?</p>
  
  <p>How can we update server side object via client? If i need to update the server side instance, can i update it using client?</p>
  
  <p>Please guide me to achieve this.</p>