trancemar schrieb: > Which pattern do you recommend to not create an AsyncCallback class > for each RPC ?
Do you create a new java-file for each callback? That's not necessary as Ian already pointed out. > If EntryPoint class implements AsyncCallback and RPC returns each time > a different Object, we'll have an idea from which event it comes from. > It wont be better in performance ? The Javascrip-code should look differently than the code you would expect when looking at the java-source. I don't know what the compiler produces but I doubt that there will be instances of objects being created for doing a callback. In addition regard the standard-disclaimer for premature optimization being included here ;-) Regards, Lothar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
