File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Java RMI chat interface 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 » Sockets and Internet Protocols
Bookmark "Java RMI chat interface" Watch "Java RMI chat interface" New topic

Java RMI chat interface

ritesh thakur

Joined: Jul 08, 2013
Posts: 13

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) ?
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3902

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... )

[How to ask questions] [Twitter]
I agree. Here's the link:
subject: Java RMI chat interface
It's not a secret anymore!