File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Observer v/s Publish Subscribe