Can anyone tell me where I should make changes in an RMI program for 2 JVMs on same physical machine to 2 JVMs on diff physical machines in the example here
@Olaf- can you help me out?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The example that you quoted has the following URI for the RMI call:
This tells your RMI client to call RMI server on the same host. If you substitute the hostname or IP address of the remote server for the “localhost”, your client would call it instead.