*
The moose likes Java in General and the fly likes Observer v/s Publish Subscribe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Observer v/s Publish Subscribe" Watch "Observer v/s Publish Subscribe" New topic
Author

Observer v/s Publish Subscribe

chander shivdasani
Ranch Hand

Joined: Oct 09, 2007
Posts: 206

Hi all,

Christopher here explains what an Observer Design Pattern is.

I just want to know, whether Observer Design Pattern is Similar to the Publish/Subscribe mechanism.Or the way to put it would be, what are the differences between them??


Enjoy, Chander
SCJP 5, Oracle Certified PL/SQL Developer
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

The Observer pattern is arguably a subset of the pub/sub pattern, see here for some details.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
 
subject: Observer v/s Publish Subscribe
 
Similar Threads
Object referenced multiple collections
Could someone explain the listener pattern
Alternative Names for Design Patterns ?
how to implement multicasting in java?
Does anyone use java.util.Observer/Observable in Swing?