GWT - Reusing Callback Class
Posted
by moorsu
on Stack Overflow
See other posts from Stack Overflow
or by moorsu
Published on 2010-06-11T12:37:54Z
Indexed on
2010/06/11
13:42 UTC
Read the original article
Hit count: 228
gwt
My custom callback class implements AsyncCallback (like MyAsyncCallback implements AsyncCallback) and planning use single instance of MyAsyncCallback for multiple rpc method executions. Is this approach safe?. Or should have to create new instance of MyAsyncCallback for every interaction from browser to server?.
I am kind of tired of seeing so many anonymous AsyncCallback code blocks.
Thanks for your input
© Stack Overflow or respective owner