This content has been marked as final. Show 3 replies
Ser'ing is converting Java objects into (or from) a binary stream. It is defined in Java terms.
XML is a platform-independent textual format, in harsh contrast to the Java-specific binary ser'ed format.
The terms are used fairly interchangeably in RMI. You could say that marshaling is the function, serialization is the implementation of the function.
In XML, "serialization" usually means converting some internal format into standard XML text. This internal format is often a DOM, but it certainly isn't limited to that. You could have an organized collection of Java objects along with code with converted the collection into an XML document which represented it, and you would call that "serialization".