Forums Register Login

EPractice Lab quiz 1 front controller and improve security management

+Pie Number of slices to send: Send
I think
- intercepting filter is used for security management, not the front controller.
- option C is also a correct choice for front controller.


Identify the advantages of applying the Front controller design pattern.

a. Improves manageability of Security
b. Centralizes control
c. Enables a clean separation between the presentation and business tier services
d. Reduces the networking calls involved and hence increases the performance
e. Improves reusability

Choice A, Choice B and Choice E are correct


Front Controller acts as the initial point of contact for handling a request. The controller manages the handling of the request, including invoking security services such as authentication and authorization, delegating business processing, managing the choice of an appropriate view, handling errors, and managing the selection of content creation strategies.

The advantages of using this pattern are:
Centralizes Control A controller provides a central place to handle system services and business logic across multiple requests. A controller manages business logic processing and request handling.

Centralized access to an application means that requests are easily tracked and logged. As control centralizes, it is possible to introduce a single point of failure. However, in practice, this rarely is a problem, since multiple controllers typically exist, either within a single server or in a cluster.
Improves Manageability of Security A controller centralizes control, providing a choke point for illicit access attempts into the Web application. In addition, auditing a single entrance into the application requires fewer resources than distributing security checks across all pages.

Improves Reusability A controller promotes cleaner application partitioning and encourages reuse, as code that is common among components moves into a controller or is managed by a controller.

Hence choices A, B, and E are correct.
Choices C and D are incorrect as this pattern neither reduces the coupling between presentation and business tier services nor reduces the network calls involved.

 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 417 times.
Similar Threads
i dont agree with tgis on Design patterns
front contoller and intercepting filter
Design Pattern Question
How exactly controller controls the flow
Oracle Sample Question - Contradiction with Cade's study guide
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:06:55.