Go Back   Wiki NewForum > Career Forum (Documents/Tutorials/Advice) > Tech Forum & Tutorial > ASP.NET Forum & Tutorial

Reply
Views: 1488 Source: CNN18.com, India-Forums, TellyChakkar, India, Times of India, Youtube, BollywoodLife, Rediff  
Thread Tools Rate Thread Display Modes
  #1  
Old 05-31-2009, 07:59 AM
bholus7 bholus7 is offline
Banned
 
Join Date:
Apr 2009
Posts: 1,322
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.

Ads
Reply With Quote
Reply

New topics in ASP.NET Forum & Tutorial

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump


Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
asp web stats