Remoting Interview Question and Answers

11. What is a formatter?
  A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end.
 
Your Name Your Email-ID
Your Answer
12. What is singleton activation mode?
  A single object is instantiated regardless of the number of clients accessing it. Life time of this object is determined by lifetime lease.
 
Your Name Your Email-ID
Your Answer
13. What are possible implementations of distributed applications in .NET?
 
  • .NET Remoting and ASP.NET Web Services.
  • If we talk about the Framework Class Library, noteworthy classes are in System.Runtime.Remoting and
    System.Web.Services.
 
Your Name Your Email-ID
Your Answer
14. Defining leasing?
 
  • A lease is an object created internally by .NET that implements the I Lease interface.
  • This interface, located in the System.Runtime.Remoting.
  • Lifetime namespace, defines the members that are used to govern a lease's behavior.
 
Your Name Your Email-ID
Your Answer
15. Define server Activated Objects(SAO)?
 
  • A server Activated Object (SAO) may be implemented as a singleton or single call object.
  • Singleton is best suited for sharing a single resource or collaborative operation among multiple users.
  • Single call mode is used when clients need to execute a relatively short operation on the server that does not require maintaining state information from one all to the next
 
Your Name Your Email-ID
Your Answer
123456 Page 3 of 6