<P> In computer science, marshalling or marshaling is the process of transforming the memory representation of an object to a data format suitable for storage or transmission, and it is typically used when data must be moved between different parts of a computer program or from one program to another . Marshalling is similar to serialization and is used to communicate to remote objects with an object, in this case a serialized object . It simplifies complex communication, using custom / complex objects to communicate instead of primitives . The opposite, or reverse, of marshalling is called unmarshalling (or demarshalling, similar to deserialization). </P> <P> Marshalling is used within implementations of different remote procedure call (RPC) mechanisms, where it is necessary to transport data between processes and / or between threads . In Microsoft's Component Object Model (COM), interface pointers must be marshalled when crossing COM apartment boundaries . In the . NET Framework, the conversion between an unmanaged type and a CLR type, as in the P / Invoke process, is also an example of an action that requires marshalling to take place . </P>

What is meant by marshalling and unmarshalling in java
find me the text answering this question