wood burning stoves
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
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: 3275
    
    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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Observer v/s Publish Subscribe
 
It's not a secret anymore!