EventBus Vs HandlerManger

64 views
Skip to first unread message

Adio

unread,
Apr 29, 2012, 4:09:24 AM4/29/12
to Google Web Toolkit
Hi everyone. Can someone tell me what is the difference between
EventBus and HandlerManager ? and when to use eachone of them ?
To me they are do the same task ... !

Thank you a lot .

Michael Allan

unread,
Apr 29, 2012, 1:23:59 PM4/29/12
to Google Web Toolkit
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/event/shared/HandlerManager.html

I've inferred that EventBus is for centralized dispatch, while
HandlerManager is for widget-specific dispatch and backward
compatibility with legacy code. (It looks like a half finished
transition. We might be stuck with it till someone volunteers to
clean it up.)

--
Michael Allan

Toronto, +1 416-699-9528
http://zelea.com/
Reply all
Reply to author
Forward
0 new messages