Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dispatcher View

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't see Dispatcher View component here:

http://www.corej2eepatterns.com/Patterns2ndEd/DispatcherView.htm

 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dispatcher View is just Application Controller dispatches to View.

I'm wonder why they call this a "pattern".
 
eduardo ferreira
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They define the "service to worker" and "dispatcher view". On the first, you:
- call the controller
- call business tier
- display view

On dispatcher view, you simply "display the view", and they say that the needed data must already be on session scope or something like that. So this could be only used for static pages or "back buttons".

I agree, this is no pattern. Some j2ee patterns are really stupid. As I already said, I'm hating this book. Some patterns are useless, and the good patters are badly explained.
 
arvin ramon
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find more on Dispatcher View here...
Dispatcher View
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic