Demystifying MVP and EventBus in GWT

Demystifying MVP and EventBus in GWT

In 2009, Ray Ryan gave a talk at Google I/O advocating the Model-View-Presenter pattern and the EventBus for architecting GWT applications. Since then, MVP and the EventBus have become widespread in the GWT community and several frameworks have appeared to support them. However, there’s still a lot of confusion over what MVP actually is and the best way to implement it.

Many common solutions involve tedious amounts of boilerplate and overhead. This talk demonstrates that using MVP and the EventBus correctly is easier than you probably think it is and can be done without any frameworks or extra overhead. The end result is a more testable, maintainable GWT application that is a pleasure to work with.