I present a sample-project that demonstrates using the GWT RequestFactory together with Spring.
GWT, the Webapplication Toolkit formerly owned/led by Google allows you to write single-page, client-side webapplications fully in Java. Older versions of GWT only allowed communication with the client via RPC, which has quite a few drawbacks. Using RPC may lead to unresponsive design as it tries to hide that you're communicating over an unreliable (internet)connection. Also RPC can quickly result in ugly mixture of back- and frontend-code.
Since recent years in GWT you can also use the RequestFactory (RF) for client/server communication. RF allows for a better separation of the client/server code and enforces better design of client/server communication.
The GWT-SDK ships with a sample project, DynaTableRF which demonstrate how to use the RequestFactory. Integrating the RF back-end technologies such as JEE and Spring is not as straight-forward as the sample-project suggested. So I've extended the sample-project to use Spring. The sample-project gwt-dynatablerf-spring can be found at my Github-page.
I hope you find the sample-project useful. If you have any questions or remarks, feel free to contact me.
I've created a small scala-script to extract messages from SOAPUI. Writing this was surprisingly easy, and certainly faster and more pleasant then processing the SOAPUI manually.
subscribe via RSS