Noor
Noor

Reputation: 20150

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??

Upvotes: 3

Views: 687

Answers (3)

pp2moonbird
pp2moonbird

Reputation: 161

I think Event Bus is to decouple the sender and receiver, you may take a look for Listener Pattern in Design Pattern.

Upvotes: 1

Scoobie
Scoobie

Reputation: 1139

EventBus - This API seems to implement what you're looking for.

Upvotes: 1

Javid Jamae
Javid Jamae

Reputation: 9009

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.

Upvotes: 2

Related Questions