springgwtgwt-rpcrequestfactoryresty-gwt

GWT2.7 and Spring4 integration?


I am writing new application. For client side I would like to have newest gwt 2.7, but for server side code I would like to use Spring4 (firstly spring security and spring data).

Can anyone tell how it is now with integrating those 2 frameworks. I can not find any new tutorial/ information about state of integration in newest versions of those frameworks. Is there still mandatory some kind of framework: like spring4gwt or gwtrpc-spring?

I consider to use Request Factory and GWT RPC for ajax comunication, but I would like to avoid xml's as much as I can. I prefer type safe way, aka using java class. I also use tomcat7 and maven.

I am open to any sugestion. Please help.


Solution

  • I recently tried spring boot on the server side and GWT on the client side and it works like a charm.

    You have to throw away the RPC stuff and just use REST services. To do this we use the Resty GWT library and Spring Rest Controller. This also allows us the decouple GWT from the backend and switch it with other technologies if necessary.