Communication Between Windows vaadin 7

Hi everyone.

In my curent project i using vaadin 7, but i have little experience.

I have read some chapters of vaadin wiki about RPC and Shared State.

my question is such : is RPC and Shared State suitable instruments for making conversation between windows?

thanks!

ok,

I’m trying to make conversation between two windows.
i made two vaadin widgets, and placed them on a different view. and open them in diferent windows.

through component1 ( server side ) through session atridute get reference to component2ClientRpc and calling method on it.
and nothing results, unless i click on component2.
i cannot understand why display does not occur immediately?

someone plese answers can i get immediately update of the displayable state of the second component usin Rpc or shared state?

Changing something in window1 during handling request from window2 won’t result in transferring state changes to window1. But when you do something causing request to server than the changes are transfered to the browser window from which the request came.
You need some kind of server push (or client polling) to make changes come from server-side to the client.

Ivan thanks.

I solved the problem. used ICEPush addon.

Here’s a useful link:
https://vaadin.com/forum/-/message_boards/view_message/1829505