What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 9439 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > ASP.NET Interview Questions > What are the two different types of remo ...

What are the two different types of remote object creation mode in .NET ?

Interview question and answer by: Bharathi Cherukuri | Posted on: 6/5/2012 | Category: ASP.NET Interview questions | Views: 692 | | Points: 40


Answer:

There are two different ways in which object can be created using Remoting. They 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 created with every method call thus making the object stateless.
With Singleton, the object is created only once and the object is shared with all clients.
CAO are stateful as compared to SAO. In CAO, the creation request is sent from client side. Client holds a proxy to the server object created on server.

Asked In: Many Interviews | Alert Moderator 
Found interesting? Add this to:


>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Bharathi Cherukuri

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/24/2013 2:35:32 PM