Thank you for your comprehensive answer. On Sep 21, 12:08 pm, Thomas Broyer <[email protected]> wrote: > When in doubt, pass the -gen argument to the DevMode or Compiler and look at > the code that's been generated. > > Looking the code (or rather, its javadoc), it seems like everything inside a > ClientBundle generated class is > 'static':http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/... > That means that it makes no difference whether you GWT.create() a new > instance each time you need it, or use a singleton. And the compiler will > correctly "dispatch" the initialization code of each resource within the > appropriate "fragment" created by a runAsync. > > In other words, yes: runAsync + clientBundle = ❤ !
-- 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.
