Wednesday, April 27, 2016

Re: Global Event bus for separate compilation modules

I understand the turducken model that but I not suggest the linked implementation because the gwt compiler in that way will produce redundant code in each module and this can cause some problems at runtime of js code. I suggest to use a global js object and reference it trough a native jsni method. Using is a specific way to reuse a global JS object and obtain a messaging mechanism with a single call and without the problems I see in re-writing the bus as a gwt module. With gwt 2.8 this problem is solved with jsinterop.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment