Implementing the Observer Pattern

49 views
Skip to first unread message

fatima zahra Anzour

unread,
Aug 27, 2013, 6:24:55 AM8/27/13
to google-we...@googlegroups.com
Hi everyone;
I would like to know if there is any possibility to implement the observer pattern in the client side of a gwt application; in my application i need to pick up the changement of a field's value  thank's in advance for your help
regards

Ümit Seren

unread,
Aug 27, 2013, 9:17:28 AM8/27/13
to google-we...@googlegroups.com
Yes why shouldn't it be possible to do it ? You can look into EventBus/SimpleEventBus for that which is bascially an implementation of the Observer pattern. 

fatima zahra Anzour

unread,
Aug 27, 2013, 9:22:14 AM8/27/13
to google-we...@googlegroups.com
ok; thank you
by the way; have you any good link which will help me to do that; as i know the Event bus is used to register events triggered on the UI compenents.


2013/8/27 Ümit Seren <uemit...@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/pmmxH3AcYnI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Patrick Tucker

unread,
Aug 27, 2013, 11:22:07 AM8/27/13
to google-we...@googlegroups.com
You will be creating your own EventBus that only handles whatever you tell it to.

fatima zahra Anzour

unread,
Aug 27, 2013, 11:29:28 AM8/27/13
to google-we...@googlegroups.com
thanks for the reply; since i'm begginer with gwt ; i didn't know that we could create our own implementation of the eventBus; if i succsed in doing that ( and i will do my best) it will resolve the whole problem i'm facing now,
again, thank you all for your help
regards 


2013/8/27 Patrick Tucker <tuck...@gmail.com>
You will be creating your own EventBus that only handles whatever you tell it to.
Reply all
Reply to author
Forward
0 new messages