[Json-rpc-java] Using the JSON-RPC-Java of another webapp
Elie Dumas
eliedumas at yahoo.fr
Wed May 17 17:15:19 SGT 2006
hi json-rpc-java people,
i am new to JSON-RPC, and i've come through a surprisingly good news that i did'nt expect :
let's say i am making a webapps/Test application which uses a JSON-RPC-Java object :
jsonrpc = new JSONRpcClient("/Test/JSON-RPC");
In another application (in webapps/Test2), i am making another JSON-RPC-Java object :
jsonrpc = new JSONRpcClient("/Test2/JSON-RPC");
but it is possible (!!) to use the JSON-RPC-Java object from the other app :
jsonrpc = new JSONRpcClient("/Test/JSON-RPC");
Then i can use only one JSON-RPC-Java object in all my apps, list all my java files (i.e. <jsp:useBean id="test" scope="session" class="packageTest.Test" />) in that same application, so as to use them from any other app, and so on. That's quite handy !
--> is it all right ? did i miss the point ?...
thanx for your reactions
More information about the Json-rpc-java
mailing list