This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes can i create a chat using RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "can i create a chat using RMI" Watch "can i create a chat using RMI" New topic

can i create a chat using RMI

Prasath Thirumoorthy
Ranch Hand

Joined: Jul 23, 2004
Posts: 65
Hi Friends just i started RMI i think to do some thing using RMI a small implementation which can be useful for me to know something abt RMI so i thought of doing chat in LAN .so any of give me a rough idea or if u hav any ideas plz tel to me to do I need ur help plz
thank u


Catalin Merfu
Ranch Hand

Joined: May 26, 2004
Posts: 42
You will need to implement client-server-client communication.

You will need:
1. Synchronous communication;
2. Asynchronous communication - invoke methods on the server without
response. You would use this to post chat messages;
3. Client callback - send messages from server to the clients. This would allow you to distribute a new message to all clients in a chat session.

Take a look at . We are providing the ideal networking framework for chat applications (but not only) and it's free.

Catalin Merfu<br /><a href="" target="_blank" rel="nofollow">High Performance Java Networking</a>
I agree. Here's the link:
subject: can i create a chat using RMI
It's not a secret anymore!