aspose file tools*
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
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Java RMI chat interface" Watch "Java RMI chat interface" New topic
Author

Java RMI chat interface

ritesh thakur
Greenhorn

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

Joined: Mar 24, 2008
Posts: 3829

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


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java RMI chat interface