3 Replies Latest reply: Jan 3, 2012 7:42 AM by 898273 RSS

    the chain of responsibility pattern

    908365
      Happy new year to all,

      Can I ask if the chain of responsibility is similar to any other pattern?
      Cheers!
        • 1. Re: the chain of responsibility pattern
          tschodt
          905362 wrote:
          ... is the chain of responsibility pattern similar to any other pattern?
          Did you search the web?

          Did you find entries like
            http://en.wikipedia.org/wiki/Chain-of-responsibility_pattern
          and
            http://c2.com/cgi/wiki?ChainOfResponsibilityPattern
          and did you read and understand them?
          • 2. Re: the chain of responsibility pattern
            908365
            Hi there,

            I did read up on the searches but I can't seem to get it all.
            I came across a reading where it relates to the composite pattern being used with chain of responsibility but I'm hoping to see if there are any other which I have learned of as I have no idea about the composite pattern.
            thanks!
            • 3. Re: the chain of responsibility pattern
              898273
              If you look at the object diagram, it looks like Decorator: a string of objects passing a request to the next in line

              Looking at intent, it comes closer to Command, as it deals with executing a command

              Why the question though?