File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
What is Observer and Observable?
Joined: Nov 21, 2005
Jan 01, 2006 07:21:00
What is Observer and Observable? What is their use?
Joined: Oct 02, 2003
Jan 01, 2006 07:42:00
They're part of the Observer
. you have one object that notifies a bunch of others when needed. many "observers" may register with an "observable", and all may un-register.
Check out the Head First Design Patterns book, or google "design patterns observer" and you'll find tons of into...
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Joined: Mar 22, 2005
Jan 01, 2006 08:21:00
There's a good IBM Developerworks tutorial on event delivery techniques, which you can find
. It covers Observer/Observable, JavaBean event techniques and more.
[ January 01, 2006: Message edited by: Ulf Dittmer ]
I agree. Here's the link:
subject: What is Observer and Observable?
a doubt regarding course
How to write my own Event ( & Listener for it)??
Observer and Observable
What are Observer and Observable? How it is usfull?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015