Java RMI chat Program

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

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Siva Prasanna KumarPrincipal Solutions ArchitectCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
guys i have a little question related to this topic
i have already download the example that objects provided
i can not run the server when i try "java chat.ChatServerImpl"
it says
java.rmi.ConnectException: Connection refused to host: // my ip
anybody knows how to run the chat server
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

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.
Mayank SAssociate Director - Product EngineeringCommented:
nice link objects...

here is what some of the problems RMI one might have: (see Problems that you may run into)

No Points Please.. only a comment..

-Muj ;-D
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.

Mick BarryJava DeveloperCommented:
then just don't use the gui classes. Just use the actual chat classes in your console app.
avijayakAuthor Commented:
Dear shivaspk,
                    The code at 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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.