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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -