"Quake_Wang" <[EMAIL PROTECTED]> writes: > Hi All, We are switching our applications from 0.5.x to namspace branch now, > found that there is a JSON-RPC Java backend implementation in SVN. I'm > curious about the difference with JSON-RPC-JAVA ( > http://oss.metaparadigm.com/jsonrpc/ ), in my opinion, it's more mature and > feature rich, and no need to implement any interface such us > RemoteService. We have use it in 0.5.x successfully, can we recommend it as > a best practice in qooxdoo for java json rpc instead of reinvent wheel?
The two server implementations in the namespaces "backend" directory both have been tested and work with the JSON-RPC functionality that's built into the qooxdoo implementation in namespaces. You can look at demo/test/RPC*.html to see how they are used. You're certainly welcome to use any JSON-RPC server you like, but unfortunately, the JSON-RPC "standard" isn't. There's too much left out of it for there to be enough consistency between implementations. That means that it's likely that the functionality used by the qooxdoo JSON-RPC implementation may not work properly with a server not intended to work with it. You can certainly make the appropriate changes within the qooxdoo code, use the lower-level interface directly, or subclass the transport classes and have your subclasses do "the right thing" for the server you select. You can verify that the proper functionality exists in the server you wish to use by validating it against the SERVER_WRITERS_GUIDE in the backend directory. (Also, please let me know if you find areas in that guide which are incomplete or confusing, so I can fix it.) I wrote the PHP server, but Andreas Junghans will likely chime in on this since he wrote the JAVA server. He may also know more about the particular server you're looking at using. Cheers, Derrell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
