Observer Pattern - Java APIs demo of Pull Vs Push