Remoting Interview Question and Answers

16. What is called Sponsorship in remoting?
 
  • A program's final opportunity to renew a lease is when the lease's Current Lease Time value winds down to O.
  • At this point, the lease enters a lease State. Renewing State and the lease manager checks to see if any sponsor has been registered with the object.
  • If a sponsor is found, it is called and given the opportunity to renew the lease by returning a Time span value that becomes the new TTL for the object.
 
Your Name Your Email-ID
Your Answer
17. Define context?
 
  • App domains themselves are subdivided into contexts.
  • Contexts can be thought of as boundaries with in which objects share usage rules.
 
Your Name Your Email-ID
Your Answer
18. What's single call activation mode used for?
  If the server object is instantiated for responding to just one single request, the request should be made in single call mode.
 
Your Name Your Email-ID
Your Answer
19. What's different between process and application in .NET, not common computer usage, terminology?
 
  • A process is an instance of a running application.
  • An application is an executable on the hard drive or network.
  • There can be numerous processes launched of the same application (5 copies of Word running), but 1 process can run just 1 application.
 
Your Name Your Email-ID
Your Answer
20. What's proxy of the server object in .NET Remoting?
 
  • It's a fake copy of the server object that resides on the client side and behaves as if it was the server.
  • It handles the communication between real server object and the client object.
  • This process is also known as marshaling.
 
Your Name Your Email-ID
Your Answer
123456 Page 4 of 6