GWT (Client) = How to convert Object to JSON and send to Server?

后端 未结 4 1409
感情败类
感情败类 2020-12-30 11:08

I know that GWT has a good RPC support. But for various purposes I need to build this on my own:

1.) How can I convert a Bean Object (on the Client Side) like;

4条回答
  •  孤独总比滥情好
    2020-12-30 11:43

    Take a look at GWT's AutoBean framework, which can be used to create and receive JSON payloads. The RequestBuilder type can be used to send HTTP requests to the server.

提交回复
热议问题