Widget rpc could work as push server

Hi

I haven’t tested this addon yet, but it seems it coud work as push server. I am thinking in these scenarios:

  • the application is updated by any user and that action fires an event which is listened by other sessions which signal from the server to the browser to request refresh from the server or message display

  • the other scenario is when the application is updated by a non vaadin event like a webservice, a triggered timer or an exception elsewere and that event fires another event listened by sessions and force a refresh or message display

In that way, no oush server, web sockets or any other javascript call would be needed.

Would it work? Would it be useful?

Thanks

I think the Widget RPC still needs an explicit event from the client to the server before any data is passed back, so it’s not really a push.