Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

GWT%20Interview%20Questions%20and%20Answers

Question: How are we going to get the response from server side?
Answer: For this purpose only GWT has one Asynchronous interface which has one parameter called AsyncCallBack, using this callback object it will call the client side code once the server completed the execution.
So basically all the calls to server side method will have two call back methods
onSuccess()
onFailure()

If the server side method executed properly then onSuccess() method will be called otherwise onFailure() method will be called, so based on this we can proceed with our functionality.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook