aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Need more clarification regarding Service To Worker class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Need more clarification regarding Service To Worker class" Watch "Need more clarification regarding Service To Worker class" New topic
Author

Need more clarification regarding Service To Worker class

Paritosh H Chandorkar
Ranch Hand

Joined: Nov 11, 2012
Posts: 74
Hello All,

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 J2EE Patterns book
but could not understand this pattern.

Thanks and regards,
Paritosh Chandorkar
Arnold Reuser
Ranch Hand

Joined: Nov 20, 2003
Posts: 196
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need more clarification regarding Service To Worker class