Is it possible to make a gwt rpc blocking? i.e. the application blocks until a response is received from the server
As far as I know there is no gwt rpc blocking because it is opposite idea to the asynchronous callback.
But you can use these two methods
onSuccess()
method. It guarantees that your method is finished and successfully finished then continue to other methods.My advise is 2nd one (onSuccess). I want to mention again that blocking is never a good idea