What parts of the client code if any need to be changed in a client-server system (i.e. code using sockets) if the server is moved and why?
What parts of the client code if any need to be changed in a system using RMI if the server is moved and why?
Im not really sure about the first one but I think in the second one (the RMI system) that all that needs to be done is update the URL for locating the server because the client will call the method in the server directly once it is aware of where the server is located. Am I correct and what is the answer to the first question?