All communication in distributed systems are based on exchanging messages over an unreliable network such as the Internet.
•Four widely-used modes for communications
Remote Procedure Call (RPC)
Remote Method Invocation (RMI)
Message-Oriented Communication.
Streams