Java RMI chat Program

I want to write a Java RMI chat program.Can you please provide me a solution to it.

Aneesh.
avijayakAsked:
Who is Participating?
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
0
 
hoomanvCommented:
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
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
Mayank SAssociate Director - Product EngineeringCommented:
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.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
 
Mujtaba_Alam_KhanCommented:
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
0
 
avijayakAuthor Commented:
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.

0
 
objectsCommented:
then just don't use the gui classes. Just use the actual chat classes in your console app.
0
 
avijayakAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.