You need to ensure that the code and layer diagram are valid in a manner that follows good architectural and object oriented practices

You are developing an n-tier application. An architect has provided a layer diagram as shown in the exhibit
image. (Click the Exhibit button.)

Your code is built as part of an automated team build.
A class in the data access layer is changed to utilize a utility class that resides in the business logic layer.
You need to ensure that the code and layer diagram are valid in a manner that follows good architectural and
object oriented practices.
What should you do?

You are developing an n-tier application. An architect has provided a layer diagram as shown in the exhibit
image. (Click the Exhibit button.)

Your code is built as part of an automated team build.
A class in the data access layer is changed to utilize a utility class that resides in the business logic layer.
You need to ensure that the code and layer diagram are valid in a manner that follows good architectural and
object oriented practices.
What should you do?

A.
Create a new cross-cutting layer and refactor theutility class into the new layer, allowing the newlayer to
reference both the data access layer and the business logic layer.

B.
Leave the layers the same and duplicate the utility class in both the data access layer and the business
logic layer.

C.
Create a new cross-cutting layer and refactor theutility class into the new layer, allowing the data access
layer and business logic layer to have one-way dependencies to the new layer.

D.
Change the dependency between the data access layer and the business logic layer to be bi- directional.



Leave a Reply 0

Your email address will not be published. Required fields are marked *