You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You create a remoting application that provides stock information to customers using .NET Framework. The server component raises an event on the client computer when certain conditions are met. You must ensure that the server raises exactly one event for each client application that is registered for the event. What will you do to accomplish this task?
A. Configure the server class as a SingleCall Activated Object (SAO) and check for duplicate client delegate methods before raising the event.
B. Configure the server class as a Singleton Activated Object (SAO) and check for duplicate client delegate methods before raising the event.
C. Configure the server class as a Client Activated Object (CAO) and override the CreateObjRef method to check for duplicate client delegate methods before raising the event.
D. Configure the server class as a Client Activated Object (CAO) and check for duplicate client delegate methods before raising the event.
Answer:B
You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You create a remoting application that provides stock information to customers using .NET Framework. The server component raises an event on the client computer when certain conditions are met. You must ensure that the server raises exactly one event for each client application that is registered for the event. What will you do to accomplish this task?
A. Configure the server class as a SingleCall Activated Object (SAO) and check for duplicate client delegate methods before raising the event. B. Configure the server class as a Singleton Activated Object (SAO) and check for duplicate client delegate methods before raising the event. C. Configure the server class as a Client Activated Object (CAO) and override the CreateObjRef method to check for duplicate client delegate methods before raising the event. D. Configure the server class as a Client Activated Object (CAO) and check for duplicate client delegate methods before raising the event.