[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Java RMI chat Program

Posted on 2006-03-31
9
Medium Priority
?
4,759 Views
Last Modified: 2013-12-29
I want to write a Java RMI chat program.Can you please provide me a solution to it.

Aneesh.
0
Comment
Question by:avijayak
  • 2
  • 2
  • 2
  • +3
9 Comments
 
LVL 23

Accepted Solution

by:
Siva Prasanna Kumar earned 1000 total points
ID: 16348177
0
 
LVL 14

Expert Comment

by:hoomanv
ID: 16349019
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 30

Expert Comment

by:Mayank S
ID: 16349386
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
 
LVL 6

Expert Comment

by:Mujtaba_Alam_Khan
ID: 16350092
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
 

Author Comment

by:avijayak
ID: 16353698
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
 
LVL 92

Expert Comment

by:objects
ID: 16353713
then just don't use the gui classes. Just use the actual chat classes in your console app.
0
 

Author Comment

by:avijayak
ID: 16367483
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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month20 days, 14 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question