1 min read

Patterns - Pipeline / Chain of Reponsiblity in Java

Mallim

Pipeline and Chain of Reponsiblity both look quite similar to me.

Pipeline:

  • it shows how you can transform multiple for loops to a functional ones

Chain of Responsiblility:

  • commons-chain2-poc - Apache Commons Chain implements the Chain of Responsibility pattern, this github gives a history of commons-chain. There is actually a tutorial on Baeldung

Guess what I stumbled upon when I am looking around? Design patterns implemented in Java