Accountancy, asked by pujagogoi1122, 4 days ago

illustrate the different forms ofmarshalling

Answers

Answered by archu040688
1

Answer:

1. Marshal by Value :

  • Server creates copy of the remoting object's state and passes it to the client. You need to implement your classes to have marshal by value features either by implementing ISerializable interface or using attribute. Here you need to copy whole object to the client which means with large size object, the communication overhead is significant.

2. Marshal by Reference :

  • In this type proxy is created by the reference of the server objects. Class must extend the System.MarshalByRefObject to implement marshal by reference. Here, client keeps server object reference which means round trip to server with each method call.
Similar questions