I'm using eclipse galileo with latest GWT 2.0 version in development mode, but it runs really slow (i should wait about 1 minute to open one page, but after compilation, my application works very well when I run it using tomcat 5.5).
My code is not too heavy & i guess there is an os-related or software inconsistency problem, because I'd this problem before, but when i reinstalled my windows vista sp2 (I formatted my windows drive & reinstalled it), my problem solved for just some days & then again it became to slow !
I didn't install any special software on my windows, so i really dont know why this problem occures ???
any suggestion ?
views:
421answers:
3First time you load the page, it loads all the necessary javacode (and the JVM). Later, each refresh of the page will only loads the changed javacode then execute the whole (I might be wrong though). So if you're closing the browser then reopening your page each time you want to see the changes you made, yes it's going to be slow. If you refresh the page each time, it SHOULD be fast (if the changes you made weren't huge).
Eclipse + GWT 2.0 is not the reason why it's slow... (by the way Shubhkarman, if I'm correct there is no GWT plugin for netbeans...)
I've found that the performance difference between running the GWT hosted mode in debug vs. non-debug to be large. If you're running with debug, try running without to see if that helps.
The initial page load can be slow, but once you get going just clicking refresh on my browser reloads the updated project in just a few seconds.
If you're using smartgwt make sure firebug or similar is disabled. That will really slow down your browser in dev mode.
And as far as NetBeans is concerned there really is a plugin for GWT called GWT4NB. But the IDE is not your problem :)