Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 14361
Total Votes: 144 votes
Average Rating: 3.81 out of 5
Category: JAVA/Core JAVA
Description:Observer pattern in Java is one of most used core Java pattern which has heavily used in JDK and outside of JDK in various frameworks like Spring, Struts and other Apache libraries. Observer pattern allows a publisher subscriber mechanism on which Subject notifies all interested subscriber for any change in object's state. Java has builtin support for observer pattern by java.util.Observable and java.util.Observer classes.