The front controller design pattern is used to provide a centralized request handling mechanism so that all requests will be handled by a single handler.
This handler can do the authentication/ authorization/ logging or tracking of request and then pass the requests to corresponding handlers.
Following are the entities of this type of design pattern:
1. Front Controller - Single handler for all kinds of requests coming to the application eitherwebbased/desktopbased.
2. Dispatcher - Front Controller may use a dispatcher object which can dispatch the request to corresponding specific handler.
3. View - Views are the object for which the requests are made.
Posted Date:- 2021-09-06 22:58:28