JSON-RPC-Java


Simple communication

simple synchronous call var add_field = document.getElementById("add_field");
add_field.value = jason.wopage.add();
add on 'mouseover'
synchrone call, with simple argument (an_integer) var add_field = document.getElementById("add_field");
add_field.value = jason.wopage.addMore(5);
addMore(5)
asynchrone call, imply a callback method jsonrpc.dict.matchs(gotMatches, database, strategy, word);
see the dictionary demo

Example adapted from the one given withjson-rpc-java

JavaScript to Java remote communication.

JSON-RPC-Java Dictionary Client

Word:   Strategy:  Database:   Auto  

Strategy: Default

Database: All



$Id$