Wiki NewForum | Latest Entertainment News

Wiki NewForum | Latest Entertainment News (https://www.wikinewforum.com//index.php)
-   ASP.NET Forum & Tutorial (https://www.wikinewforum.com//forumdisplay.php?f=106)
-   -   Explain the two different types of remote object creation mode in .NET. (https://www.wikinewforum.com//showthread.php?t=7621)

bholus7 05-31-2009 07:59 AM

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


Ways in which object can be created using Remoting: -


SAO Server Activated Object (call mode): lasts the lifetime of the server. They are activated as SingleCall/Singleton objects. It makes objects stateless.


A SingleCall object gets created for each request by client and A Singleton object is created once on the server and is shared by all the clients.


CAO (Client Activated Objects): CAO creates stateful objects. The object creation request is based on the request by client side.



Therefore, the lifetime is based on client and not server. Single instance of object is created for every call.


All times are GMT. The time now is 05:32 PM.

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.