javascript - How to add html/js query to gwt app using gwt-rpc? -


we have web client built gwt talks server via gwt-rpc. 1 part of app use html/js replace gwt gui , want part talk server not via gwt-rpc. ways there migrate gwt-rpc call work none gwt client? today send , receive java collections contain object graphs list of order objects have them self order detail objects , on.

thanks

your best bet using rest. data sent using json, part of javascript understood on client-side. on server side there shouldn't problems finding suitable library handle rest (ha-ha, it?).

if you're using gwt on client , server side now, resty-gwt , jersey popular combo. there talk it on last gwt.create conference, it's starting point.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -