This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
Author

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


Thanks,
Prasath

SCJP1.4, SCWCD
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 http://www.accendia.com . We are providing the ideal networking framework for chat applications (but not only) and it's free.


Catalin Merfu<br /><a href="http://www.accendia.com" target="_blank" rel="nofollow">High Performance Java Networking</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can i create a chat using RMI
 
Similar Threads
Rmi Exception
Chat application on Linux... plz help ....
Chat application on Linux... plz help ....
client 2 client chat thru server with rmi
a query on RMI based Chat Server