The Java SE 6 documentation on Object Serialization states the following about the uses of Java serialization: Serialization is used for lightweight persistence and for communication via sockets or ...
The Java RMI (Remote Method Invocation) API provides us with a clean way to build distributed Java applications. The components that make up these applications communicate with each other by invoking ...