Reputation: 5341
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.
Upvotes: 1
Views: 430
Reputation: 103
You can definitely use Rest Dispatch with whatever backend you like. Take a look at this tutorial if you'd like more information on how to setup Rest Dispatch. This tutorial was also tested using the Python webapp2 web framework as backend.
Upvotes: 1
Reputation: 44545
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.
Upvotes: 0