File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: can i create a chat using RMI