What's the best way to use the new Javascript Client Library API in GWT
All, Google recently announced this: http://googlecode.blogspot.com/2011/11/javascript-client-library-for-google.html?m=1 I'd like to know what the best way is to use this library in combination with GWT without writing wrappers (since that feels like a work-around). Really looking forward to your answers. Rokesh -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kOB_7L4f864J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Performance Tip for IE browsers : Java garbage collection is NOT Javascript garbage Collection
Almost there... method doSomething (){ callback c = createCallback(); } static AsyncCallback? callback = null; AsyncCallback? createCallBack(){ if (callback==null){ callback = new AsyncCallbackObject() { // implement onSuccess // implement onFailure } } return callback; } Since we are keeping the callbacks stateless, this really improved performance on IE! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/0Xvfkgn9RjcJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Performance Tip for IE browsers : Java garbage collection is NOT Javascript garbage Collection
No definitely not: This is only with the callback Class (and in combination with a lot of data). Somehow the callback is not garbage collected properly in IE. The GWT team covered this part (of (new ClickHandler)...) See this link https://groups.google.com/forum/#!searchin/google-web-toolkit/clear$20memory$20IE7/google-web-toolkit/jPOhtj5vZT4/cOnK6MS_EQwJ And the last post of Joel Webber was definitely worth the read! So in short: Only the callback ( AsyncCallback()) class we changed to a static class variable and that was it...No other code changes... Again: java garbage collection is (apparently) NOT the same as Javascript garbage collection. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rfRC1FZu3QMJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.