Showing posts with label Default constructors. Show all posts
Showing posts with label Default constructors. Show all posts

Friday, 10 February 2012

What is marshaling and what are different kinds of marshaling ?

Marshaling is used when an object is converted so that it can be sent across the network or across application domains. Unmarshaling creates an object from the marshaled data.
There are two ways to do marshaling :-

  • Marshal-by-value (MBV) :- In this the object is serialized into the channel, and a copy of the object is created on the other side