What is the meaning of marshalling and unmarshalling?


In few words, “marshalling” refers to the process of converting the data or the objects into a byte-stream, and “unmarshalling” is the reverse process of converting the byte-stream beack to their original data or object. The conversion is achieved through “serialization”.

The purpose of the “marshalling/unmarshalling” process is to transfer data between the RMI system.