Search code examples
gwtframeworksevent-handlingevent-bus

GWT Event Bus concept in other framework


I am not aware of the many frameworks on the market but i wanted to know something, Like the event bus concept in GWT, does this technique exist in other framework??


Solution

  • Many UI frameworks use an EventBus model. Events are just asynchronous messages. UI frameworks usually use these asynchronous mechanisms for notifications because they don't want to block the user from interacting with the system while it is processing the last change they made to the UI. Sometimes people write these busses themselves using the Observer Pattern, and sometimes the frameworks provide them.

    Events and event buses have parallels in other asynchronous systems. For example, message oriented middleware (e.g. a JMS server) is a cross-process or cross-system mechanism that is conceptually the same thing as a EventBus.