Link to home
Start Free TrialLog in
Avatar of avijayak
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.
Avatar of Mick Barry
Mick Barry
Flag of Australia image

ASKER CERTIFIED SOLUTION
Avatar of Siva Prasanna Kumar
Siva Prasanna Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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.
Avatar of Mujtaba_Alam_Khan
Mujtaba_Alam_Khan

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
Avatar of avijayak

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.
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.