The moose likes OO, Patterns, UML and Refactoring and the fly likes chain of responsibility and command design pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "chain of responsibility and command design pattern" Watch "chain of responsibility and command design pattern" New topic
Author

chain of responsibility and command design pattern

mittalr
Greenhorn

Joined: Jun 09, 2001
Posts: 1
Hi
Can anyone explain the differences between chain of responsibility and command design pattern.
Could a system be designed better if we use both of these patterns together
for e.g
I am having chain of components laid out on the basis of chain of responsibility pattern where one component keeps passing a set of request to other for their set of operations.
The operations performed by components can be done by implementing command pattern.
does it become a viable solution ?
Can these pattern go hand in hand together.

Rajesh Mittal
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
"mittalr",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in again with a new name which meets the requirements.
Thanks.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
 
 
subject: chain of responsibility and command design pattern
 
Threads others viewed
about Proxy pattern
struts
Use of DAO as a Command?
mapping a string to a method call
My SCEA Part 1Study Notes
IntelliJ Java IDE