I'm still pretty enthusiastic about the benefits of templating [1] GWT UIs with HTML as it turns out to be a productive way for altering UIs without going through a tedious compilation and deployment procedure. HtmlUnit 2.9 is a great java browser for integration-testing Ajax applications. It works fine with GWT and we use it … Continue reading Missing history update when clicking on links in GWT and HtmlUnit unittests
Tag: GWT
NPE when starting Google Dev Mode
After setting up a new Eclipse instance, checking out my current GWT project it's time for a first test, so I fire up the DevMode and: NullPointerException at SwingUI(42) That particular class is part of the GWT DevMode and tries to load an image from the class path by requesting it from SwingUI's class loader … Continue reading NPE when starting Google Dev Mode
Squeezing the last bit out of RPC GWT
My latest web project [1] is setting up a real estate site in Indonesia with GWT. While the number of internet users grow at an astonishing rate, much of the internet connectivity is achieved through slow dial ups or mobile connections. Thus the primary technical goal was keeping network payload to a minimum. GWT RPC … Continue reading Squeezing the last bit out of RPC GWT
GWT RPC calls with Http GET method
GWT's RPC [1] component comes handy when communicating with java backends - it's like RMI restricted to asynchronous calls, however it escapes any attempts to cache server responses. This post discusses a moderately simple way of making RPC responses cacheable by Http proxies and browsers. I'm not going into the details of the RPC lifecycle … Continue reading GWT RPC calls with Http GET method