posted 7 years ago
Hi guys I'm using java RMI to make a p2p chat with leader election. The first step that I have problems with is that I just want to make every client a own remote object so they can communicate with eacother through rmi but I don't know how to do it. Here's my code if someone wants to try to get me on the right track:
Client:
server:
server interface:
Node:
server impl:
node interface: