Remote Method Invocation (RMI) - RMI multiple servers
hello.
i want to have 2 servers each one on a separate machine. When my client does lookup i'd like it to lookup for the 2 servers and interact with the first one it founds.
for now, both my client and server are on the same machine. i use
EmpInt e = (EmpInt)Naming.lookup("//""localhost""/EmpInt");
i want my client to lookup for a server and set a timeout if connection takes too long, then tries to connect to the other server. any tutorial would help
thank you
regards,
tally

