Search code examples
gwtviewmvppresenter

GWT with MVP: How to communicate between 2 views?


i use the MVP-Pattern in GWT. I have developed a GWT-TabPanel. Each Tab has his own Presenter and his own view. But now i want to use some Datas from ViewX in ViewY.

Is there a simple way to realize it?

Greetz


Solution

  • I would suggest to use EventBus to communicate between different views. See more about using EventBus and events in this article - Large scale application development and MVP.