we do generate json data in the host page (with JSP) to save that first RPC.
HTH Michael On Mar 26, 8:11 am, jocke eriksson <[email protected]> wrote: > Well I am no expert on the subject but I have also seen that video. I think > the best solution is to download the data with your hostpage. But for that > scenario I think your objects needs to be overlays so you can do an eval. > > 2010/3/25 kozura <[email protected]> > > > I see no reason why making RPC calls as part of the onModuleLoad > > sequence (presumably from some classes it calls, but whatever) is a > > bad thing, in fact it's good to have these called out early, so while > > the code is running to build the GUI, the RPCs are off fetching data > > in parallel. With good design, many widgets are self-loading, > > regardless of whether they are created by onModuleLoad or some > > subsequent call. JS is single-thread, so don't worry about the data > > getting back before the GUI is done. I've had no problem doing this > > in my apps, so unless there is some actual compelling technical reason > > then fire away! > > > -- > > 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]<google-web-toolkit%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
