Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > Tech Forum & Tutorial > ASP.NET Forum & Tutorial


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


Reply
Views: 3789  
Thread Tools Rate Thread
  #1  
Old 05-31-2009, 07:59 AM
bholus7
Guest
 
Posts: n/a
Default 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.

Reply With Quote
Reply

New topics in ASP.NET Forum & Tutorial





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