I'm experimenting with the Vaadin Java framework at the moment and I've noticed that the client engine does not retry sending requests to the server. When mobile internet network is weak or inconsistent it would be good to keep retrying sending of requests rather than giving up.
Does any one know how to achieve this in Vaadin?
Extending ApplicationConnection and overriding doAjaxRequest should be enough to achieve what you're trying to do. Something like this:
And in your *.gwt.xml file:
You might also want to add a Timer or something to the handleError method, so that when the network is down, the request will wait for a while for it to come back up. It should be fairly trivial though.