This discussion is archived
1 Reply Latest reply: Oct 18, 2010 10:30 PM by EJP RSS

AsyncCallback GWT - 25 minute delay

800467 Newbie
Currently Being Moderated
Hi all

I am making a single Asynchronus call in GWT to the server which performs some work on the server and then returns back the results in the form of a List<String> which contains approx 50,000 entries.

When the code returns to the on Success() there is a 25 minute delay. Could someone please suggest any performance improvements or things I might be doing wrong resulting in this delay?

The code is as follows:

public void openFileRpcCall(final String serverFileName){
     // 1. create the client proxy
     //MyServiceAsync fileOpenService = (MyServiceAsync) GWT.create(MyService.class);
     // 2. create an async callback to handle the result
     final AsyncCallback callback = new AsyncCallback(){
          //public void onSuccess(Object result) {
          public void onSuccess(Object result){// result Object - List<String>
               System.out.println("in onSuccess for openFile()");
               // do stuff here
          public void onFailure(Throwable caught) {
     // do more stuff

Thanks for any suggestions


  • Correct Answers - 10 points
  • Helpful Answers - 5 points