Hi All, I have just started learning GWT. I have went through the tutorials and created StockWatcher application provided in the tutorial.
One thing I noticed that when I open the StockWatcher.html, it doesn't show me any stocks. I was thinking how I can change this behavior. Say, any time any one opens the StockWatcher.html, some default stocks should be loaded and displayed to him. I also don't want to hard-code the default stock names. They should get loaded from database or some properties file. Now, one way I see to implement this is to make a RPC call to a remote service. This service will return the default stocks. Then, load these stocks into the FlexTable displaying the stocks. This will happen onModuleLoad() method. Is there any other / better way to do this? I recently watched the video "Google I_O 2009 - ..Complex, high- performance apps w_ GWT" about how Blueprint application is build using GWT by a company called Lombardi. And in that video, they mentioned that the above approach of loading data into application UI when loading the module/page, is not good. They talked about "faking" the RPC call and embedding the payload into UI. I really didn't understand what does this mean and how it can be done? Any help is much appreciated. Thanks in advance. -- 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.
