What is marshalling? Explain types of marshalling.Marshaling is a process of transforming or serializing data from one application domain and exporting it to another application domain.
Two types of marshalling
Marshal by value: a copy of an object is created by the server and is passed and used by the client.
Marshal by reference: the client creates a proxy to access the object.