Two Java design patterns discussed in the previous chapter can also be implemented using the Struts framework. Both the Service to Worker and Dispatcher View design patterns require a controller component, referred to as the front component in both design patterns. The Struts controller can be considered the front component for either design pattern.
If the application contains most of its processing logic in the front component, then it can be considered an implementation of the Service to Worker design pattern. Alternatively, if the front component allows more decision logic to be managed by the views (using view helpers), then the design pattern can be considered the Dispatcher View design pattern.