• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Service to Worker misprint on corej2eepatterns.com?

 
Ryan Fernandes
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it just me or does the class diagram and sequence diagram NOT match on http://www.corej2eepatterns.com/Patterns2ndEd/ServiceToWorker.htm
 
Madhavilatha Yeduguri
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Command Pattern is a behavioral pattern which finds the particular object according to the command and invokes only that one.
This allows loose-coupling between the client and the implementation. Which means the same as Class diagam internally. Please correct me If I am wrong.
 
Ryan Fernandes
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look closely, the pattern description and the class diagram seem to indicate that the Front Controller is responsible for interacting with a business component to fetch the data before it dispatches control to the Application Controller to display the view.

The interaction diagram indicates otherwise. Here you will see that the responsibility of interacting with the business component is held by Application Controller and not with the Front controller as indicated above.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic