java - Observer pattern in non Swing applications -


observer pattern commonly used in swing based applications. can give practical example of pattern can used in non swing, pojo applications?

in java libraries, interfaces of form listener (including awt listeners, there others) point use of observer pattern. there's basic implementation in java.util.observable/observer, , in java.beans.propertychangesupport


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -