title: how to check if the RMI service is running on given server and port
body: <p>I have the following requirement.</p>
  
  <p>Requirement: verify if the given RMI service object say "xxservice" is running/available on the given host and port using java.</p>
  
  <p>I am using JDK1.6</p>
  
  <p>Appreciate any help.</p>
  
  <p>Thanks</p>