Should I build a REST backend for GWT application

前端 未结 7 563
悲哀的现实
悲哀的现实 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:07

    We ran into the same issue when we created the Spiffy UI Framework. We chose REST and I would never go back. I'd even say GWT-RPC is a GWT Anti-pattern.

    REST is a good idea even if you never intend to expose your REST endpoints. Creating a REST API will make your UI faster, your API better, and your entire application more maintainable.

提交回复
热议问题