Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is marshalling and what are different kinds of marshalling ?
.NET INTERVIEW QUESTIONS - What is marshalling and what are different kinds of marshalling ?
✍: Guest
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 marshalling :-
* 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 of the network. The object to
marshal is stored into a stream, and the stream is used to build a copy of the object on the other side with the unmarshalling sequence.
* Marshaling-by-reference (MBR) :- Here it creates a proxy on the client that is used to communicate with the remote object. The marshaling sequence of a
remote object creates an ObjRef instance that itself can be serialized across the network.
2009-09-15, 5172👍, 0💬
Popular Posts:
What will be printed as the result of the operation below: #define swap(a,b) a=a+b;b=a-b;a=a-b; void...
what is a service contract, operation contract and Data Contract? - part 1 In the below sample we ha...
Is There Any XSD File to Validate Atom Feed Files? - RSS FAQs - Atom Feed Introduction and File Gene...
How To Check the Oracle TNS Settings? - Oracle DBA FAQ - ODBC Drivers, DSN Configuration and ASP Con...
If client side validation is enabled in your Web page, does that mean server side code is not run? W...