A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
OO, Patterns, UML and Refactoring
Observer pattern + JMS Pub-Sub
Joined: Apr 08, 2004
Oct 23, 2013 15:29:55
Pub-Sub implements Observer pattern.Per my understanding Publisher is Subject and Subscribers are Observers. So publishers state change will be notified to Observers whenever there is a state change.
Do I need to implement any interface method for sending the message in the Subject (
Which is the right approach to implement the Observer (
Observer Class implements
's onMessage(message) (or) Observer Class implements
's handleNotification(notification, callback)/
I agree. Here's the link:
subject: Observer pattern + JMS Pub-Sub
How to implement message selector ???
Object referenced multiple collections
MVC modify model from outside of the table.
Mediator vs Observer what is the difference?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014