Results 1 to 2 of 2
  1. #1
    trust is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

    Default gwt rpc asynchronous call

    i have object
    Java Code:
    public int getValue() { 
    final AsyncCallback callback = new AsyncCallback() { 
    public void onSuccess(Object result) { 
    res = (int) result; 
    } 
    public void onFailure(Throwable caught) { 
    System.out.println("error"); 
    } 
    }; 
    greetingService.getValue(callback); 
    return res; 
    }
    but i have res=null
    How can I do please ?
    Last edited by trust; 08-11-2009 at 06:04 AM.

  2. #2
    trust is offline Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    0

Similar Threads

  1. not able to call the ejb
    By deepak9976 in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 08-07-2009, 10:12 AM
  2. Replies: 2
    Last Post: 10-06-2008, 08:20 PM
  3. I need to call and run another program
    By coco in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 05:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •