• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Need more clarification regarding Service To Worker class

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic