For RMI on server-side, do we need to start rmiregistry program, or just call LocateRegistry.createRegistry? If both are possible, what are the advant
rmiregistry
LocateRegistry.createRegistry
If you use Spring to export your RMI services, it automatically starts a registry if one is not already running. See RmiServiceExporter