1

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.

masterdany88
  • 5,041
  • 11
  • 58
  • 132

2 Answers2

1

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.

rndlaine
  • 103
  • 1
  • 7
0

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.

dunni
  • 43,386
  • 10
  • 104
  • 99
  • OK. Can You show me so example of client side? I struggle with GWTP documentation, but can make it work. Also the example `carstore` is to complicated to me. – masterdany88 Jan 26 '16 at 13:10
  • No, i don't use GWTP, i just had a look at the documentation. – dunni Jan 26 '16 at 13:12