Tuesday, April 21, 2015

different types of remote object creation mode in .NET

Explain different types of remote object creation mode in .NET.

Different ways in which object can be created using Remoting are
SAO (Server Activated Objects) also called as Well-Known call mode.
CAO (Client Activated Objects)

SAO has two modes “Single Call” and “Singleton”

With Single Call object, the object is stateless as object is created with every method call.
The object is created once and the object is shared with all clients with Singleton.

CAO are stateful as compared to SAO.
The creation request is sent from client side.
Client holds a proxy to the server object created on server.

No comments:

Post a Comment