Remoting Interview Question and Answers

21. Define client Activated Objects (CAO)?
 
  • The Client Activated Object (CAO) resembles that of a locally created object.
  • The fact that the object resides in another app Domain means that it is subject to Garbage Collection.
 
Your Name Your Email-ID
Your Answer
22. What security measures exist for .NET Remoting in System.Runtime.Remoting?
 
  • None.
  • Security should be taken care of at the application level.
  • Cryptography and other security techniques can be applied at application or server level.
 
Your Name Your Email-ID
Your Answer
23. How can you automatically generate interface for the remotable object in. NET with Microsoft tools?
  Use the Soapsuds tool.
 
Your Name Your Email-ID
Your Answer
24. When would you use .NET Remoting and when Web services?
 
  • Use remoting for more efficient exchange of information when you control both ends of the application.
  • Use Web services for open – protocol – based information exchange when you are just a client or a server with the other end belonging to someone else.
 
Your Name Your Email-ID
Your Answer
25. How do you define the lease of the object?
  By implementing ILease interface when writing the class code.
 
Your Name Your Email-ID
Your Answer
123456 Page 5 of 6