PrepAway - Latest Free Exam Questions & Answers

What should you do?

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 a financial institution. You are currently developing and enterprise application for Domain.com. Following are the aspects that should be taken into account in your design:
1. A Microsoft Windows Forms application that will allow all Domain.com employees to open accounts for customers.
2. A Microsoft ASP.NET Web application that will allow customers to open their own accounts.
3. A component named OpenAccount that manages the flow throughout both applications.

You thus need to decide on the appropriate layer in the design in which to implement these components.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
The Windows Forms, the Web application as well as the OpenAccount component must be placed in the business layer.

B.
The Windows Forms, the Web application as well as the OpenAccount component must be placed in the presentation layer.

C.
The Windows Forms and the Web application must be placed in the presentation layer.
The OpenAccount component must be placed in the data layer.

D.
The Windows Forms and the Web application must be placed in the presentation layer.
The OpenAccount component must be placed in the business layer.

Explanation:
According to Microsoft best practices, the presentation layer should include the user interface components and user process components. The user interface components provide the interface with which users interact directly. This is what the Windows Forms application and the Web application is in this scenario. The user process components aid the flow of the application. If you separate the user process components from the user interface components, then you allow the workflow to be reused by multiple user interfaces. Due to the OpenAccount component aiding the flow throughout the application, you should place this component in the presentation layer as well.
Incorrect answers:
A: None of these components should be placed in the business layer. The business layer should include the business workflows, business entities, business components and service interfaces.
C: This option is only partly correct. You should instead also be placing the OpenAccount component in the Presentation layer and not in the data layer.
D: This is only partly correct since the OpenAccount component should also be placed in the presentation layer.


Leave a Reply