aspose file tools*
The moose likes Beginning Java and the fly likes Observor and Observable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Observor and Observable" Watch "Observor and Observable" New topic
Author

Observor and Observable

Shishir malviya
Greenhorn

Joined: Jun 21, 2005
Posts: 25
I know the meaning of these words but didn't get the practical aspect clear related to these concepts.If anybody can explain these concepts with the help of any example.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42585
    
  65
These two taken together implement about the simplest possible way to couple an event source with an event listener, without either of them having to know which type of class the other one is. So while they are being coupled, they're not closely coupled.

There is a good tutorial on developerWorks called "Java event delivery techniques" which demonstrates this and other event techniques. Observer/Observable are kind of obsolete through the advent of newer mechanism in later JDKs.


Ping & DNS - my free Android networking tools app
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
These terms are not covered by any current version of the Sun Certified Java Programmers Exam


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Moving to Java In General (Beginner)


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Observor and Observable