javaspringrestgwtresty-gwt

Can GWTP Rest Dispatch be used with REST Spring server backend?


I've started to use GWTP framework. And I've noticed that it has his own implementation of Rest comunication. I've used to use GWT with RestyGWT And Spring server.

Now I wonder- can I use GWTP Rest Dispatch with Spring server?

Or should I stick with RestyGWT (which is not a part from GWTP).

I haven't found a word about it in official documentation of GWTP. And the example given have in shared package rest service interface, which is implemented on server side. Please help.


Solution

  • GWTP REST Dispatch just calls REST URLs, so it doesn't care which implementation is behind the URL, as long as it's reachable by it and returns a proper response. So yes, you are totally fine to use Spring MVC, JAX-RS or anything else for your backend.