I have not understood the requirement(need)of Service To Worker pattern?
I have not understood the application of this pattern.
Can someone please explain to me this pattern?I am referring to Core J2EEPatterns book
but could not understand this pattern.
Service to Worker and Dispatcher View represent the two most common presentation usage scenarios, both describing a common combination of a controller and dispatcher with views and helpers. While describing this common structure, they emphasize related but different usage of patterns :
• Dispatcher View is a view-centric architecture. The view components request business processes and thus might have to assume some controller responsibility.
• Service to Worker is a controller-centric architecture. The controller requests business processes.
The main difference therefore is that unlike Service to Worker, Dispatcher View defers business processing until view processing is performed.
subject: Need more clarification regarding Service To Worker class