Introduction
This pattern is also know as ’Observer’ (GoF). The mainly difference is that in architectural patterns there is a distinction for what is a components and what is a connectors. Here i want show just a basic working without this distinction. Besides i want show how implement it using the API of java, utility class that simplify the java implementation.
What is the problem
I have one or more objects (observer or listner or subscriber) that are
Leggi tutto... (http://blog.intelly-net.com/java/design-pattern/architectural-pattern-publisher-subscriber.html)
↧