Is that possible for client 2 client chat thru rmi without using socket and threads.. i have startd a intranetchat pro which s going to have the IP address and name displayed in chat room .anybody wants 2 chat can click on the name and start chatting . Friends if u have any idea as how 2 proceed on ,let me know.
Author and all-around good cowpoke
posted 12 years ago
Is that possible for client 2 client chat thru rmi without using socket and threads..
Short answer NO RMI uses sockets, you need Threads because your chat program will have to handle both user input and watch for chat messages. (obscure-refrence)there is no royal road to chat(/obscure-reference) There are many many ways to implement distributed chat in Java. Personally I think the Java Message Service is an excellent choice. Bill