avijayak
asked on
Java RMI chat Program
I want to write a Java RMI chat program.Can you please provide me a solution to it.
Aneesh.
Aneesh.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
guys i have a little question related to this topic
i have already download the example that objects provided
http://www.webmonkey.com/webmonkey/97/28/index2a.html?tw=programming
i can not run the server when i try "java chat.ChatServerImpl"
it says
java.rmi.ConnectException: Connection refused to host: xxx.xxx.xxx.xxx // my ip
anybody knows how to run the chat server
i have already download the example that objects provided
http://www.webmonkey.com/webmonkey/97/28/index2a.html?tw=programming
i can not run the server when i try "java chat.ChatServerImpl"
it says
java.rmi.ConnectException:
anybody knows how to run the chat server
For some reason, the server is trying to connect to something on your IP - not sure why :) maybe you can start the rmiregistry and see if that helps.
nice link objects...
here is what some of the problems RMI one might have:
http://patriot.net/~tvalesky/easyrmi.html (see Problems that you may run into)
No Points Please.. only a comment..
-Muj ;-D
here is what some of the problems RMI one might have:
http://patriot.net/~tvalesky/easyrmi.html (see Problems that you may run into)
No Points Please.. only a comment..
-Muj ;-D
ASKER
I went thru all ur programs.they contain awt too.i dunnot want awt. a simple command prompt chat system. where when a second user logs in , his comments are also logged by the server one after the other.
then just don't use the gui classes. Just use the actual chat classes in your console app.
ASKER
Dear shivaspk,
The code at http://www.cs.umd.edu/class/spring2001/cmsc433-0101/ is working properly.But I have to make changes into it.I want to end the chat session of a user, when the user types in the Exclamation mark i.e. "!" .What changes do I make in the code to get this working?Reply back as soon as possible.
Aneesh.
The code at http://www.cs.umd.edu/class/spring2001/cmsc433-0101/ is working properly.But I have to make changes into it.I want to end the chat session of a user, when the user types in the Exclamation mark i.e. "!" .What changes do I make in the code to get this working?Reply back as soon as possible.
Aneesh.
http://www.umsl.edu/~siegel/course302/part3/RMI/Chat.html