object communication in java
Hi ...
I use observer pattern ... seems to be the common way between loosely related objects. But I was curious about:
- Are there any alternatives to the observer pattern (implementing observer and subject interfaces)?
- Is there something similar to delegation/function pointers?
- Anyone know of a good tutorial/article on object communication in Java in general? Covering communication patterns between all types of object relations ... ie inherited, aggregate/composite, associations.