Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can i create a chat using RMI

 
Prasath Thirumoorthy
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic