Sunday, July 8, 2001 06:47 PM
I don't see how one could compare them - remote
objects and serialized objects don't have any similarities.
Serialized objects are persistent objects, objects which
have their state "frozen" for future reconstitution.
Remote objects, on the other hand, are objects which
can have their methods invoked from another JVM,
usually from a JVM residing on a separate network host.
RMI, which is one particular architecture for remote objects,
happens to use serialization as part of its implementation,
but that is an implementation detail - serialization is
not necessary for remote objects.