156 CHAPTER 3: Best Practices in Java EE Web Development
Front Controller
The front controller does the following:
Centralizes request processing
Delegates to the view using the dispatcher
Uses a view helper to separate the business logic concerns with the
presentation logic concernsDispatcher
The dispatcher does the following:
Is responsible for view management and navigation
Delegates to the view
Uses a helper to push data into the viewHelper
The helper does the following:
Helps the view or the controller to complete its processing
Pushes data into the viewClient Front
Controller Dispatcher ViewHelperdelegatesView
HelperusesFigure 3-17. Service to Worker class diagram