This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

Java RMI chat interface

 
ritesh thakur
Greenhorn
Posts: 13
Android C++ Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IS it possible to make a chat system for two different laptops using java RMI, or do i have to use Socket programming.?
Also can I make just one server on one laptop and make it accessible to clients on different laptops (server being on one of them only) ?
Regards.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally these kind of systems would have Client/Server architecture where the clients could connect to the server for certain operations and so forth. Typically it would be one server and multiple clients. Yes you can do these things with RMI and/or Socket (if you need more control of what is happening - use specific protocols etc... )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic