Should I build a REST backend for GWT application

前端 未结 7 564
悲哀的现实
悲哀的现实 2020-12-23 20:30

I am planning a new application and have been experimenting with GWT as a possible frontend. The design question I am facing is this.

Should I use Option A: GWT-RPC

7条回答
  •  滥情空心
    2020-12-23 21:10

    You can do both if use also use the RestyGWT project. It will make calling REST based JSON resources as easy as using GWT-RPC. Plus you can typically reuse the same request response DTOs from the server side on the client side.

提交回复
热议问题