What are the Examples of Observer Design Pattern in JDK ?

In JDK there are many places where Observer design pattern is used. Some of these are..

1 - java.util.Observer, java.util.Observable

2 - javax.servlet.http.HttpSessionAttributeListener

3 - javax.servlet.http.HttpSessionBindingListener

4 - All implementations of java.util.EventListener, and also in Swing packages

5 - javax.faces.event.PhaseListener



You May Interest

What is the Purpose of Thread Groups in Java ?

What is the Use of Jsp:useBean in JSP ?

What is the Difference Between StringBuffer and StringBuilder in ...

What is Difference Between Include Directive and Include Action o ...

What is the Difference Between an ArrayList and a LinkedList Data ...