Event Bus

Isaiah Peng edited this page Jul 22, 2015 · 5 revisions

EventBus a pub/sub mechanism that allows server side modules to communicate between each other, no matter if they are located in different projects, or different jubilee instance of the same project. It even allows client side JavaScript running in a browser to communicate on the same event bus. It's a huge advantage over the other web servers that you can build real time web application with ease, checkout the chatapp to see how it works.

The event bus forms a distributed peer-to-peer network spanning multiple server nodes and multiple browsers.

The event bus API is incredibly simple. It basically involves registering handlers, unregistering handlers and sending and publishing messages.