chat program as distributed
i have a chat program (as centralized) consist of two part, the first part is the server and the second part is the client.if one client want to participate in the chat,first he must connect to the server,if client need to send a message he will send the message to the server then the server broadcast the message to all the clients that were connected to it. that was a chat system as centralized开发者_开发知识库
I want to create a chat system as distributed by using java RMI.how can i do that? can i let the client connect to the other clients directly? i want to see your suggestion? thanks
精彩评论