You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the design and development of applications. Domain.com operates as an airliner. You are stationed on one of the airports that the airliner operates from.
You are currently developing an enterprise air traffic control system for Domain.com. The plan is to make use of a Microsoft .NET Remoting component with Singleton activation to control the airplanes. An application server will be used to host the component. The air traffic controllers will make use of a Microsoft Windows Forms application that will be deployed to their workstations. You now need to define the implementation details of the component to ensure that is supports scalability.
What should you do?
A.
You should ensure that the component processes singular requests.
B.
You should ensure that the component is multithreaded.
C.
You should ensure that the component is stateful.
D.
You should ensure that the component uses the inter-process communication (IPC) channel.
Explanation:
A Singleton object is accessible to multiple threads; you need to ensure that it behaves correctly when it is accessed in a multithreaded environment. If not it will affect scalability adversely.
Incorrect answers:
A: Ensuring that the component processes singular processes will require a single thread and would affect scalability adversely.
C: Stateful components are not scalable.
D: IPC is meant to support communication between different processed that runs on the same computer only. This is not what will be occurring in this scenario because the air traffic controllers will be working from their own workstations.