File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 71
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: 194
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.
 
wood burning stoves
 
subject: Need more clarification regarding Service To Worker class
 
Similar Threads
In Service to worker Pattern, do I need make Dispather as a interface?
Can this be called using Factory design pattern ?
skeleton in web services
FrontController and Service to worker
Java RMI: Is Anyone Using This Commercially?