I know that GWT has good RPC support. But for various purposes I need to build this myself:
1.) How to convert a Bean (on the client side), for example:
class MyPerson { String name; String getName(); void setName(String name);
from gwt to json string? (Ideally use only those libraries that are officially included in GWT / Google).
2.) Secondly, how can I send this generated JSON string from the client side to any server using any GWT Client Logik. (Ideally use only those libraries that are officially included in GWT / Google).
I searched a lot, but the examples never show how to send data, but only to receive JSON data.
Many thanks!!! Jens
java gwt
jens
source share