O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java Design Patterns

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required