title: RMI server: rmiregistry or LocateRegistry.createRegistry
body: <p>For RMI on server-side, do we need to start <code>rmiregistry</code> program, or just call <code>LocateRegistry.createRegistry</code>? 
  If both are possible, what are the advantages and disadvantages?</p>