code after Gwt rpc AsyncCallbak will not be executed?
I can't understand why the code after the gwt rpc AsyncCallback will not be executed? for example I have the interface AppService extends RemoteService, So I'll have AsyncAppService which does the async call. the following code AppServiceAsync service = GWT.create (AppService.class); service.getCurrentUser(new AsyncCallback<Employee>(){ public void onFailure(Throwable caught) { } public void onSuccess(Employee result) { currentUser = result; } }); // if i have the code after the above call, these code will not be execute, what is the problem //code following will not be executed if they are in