Swaroop, Thrift is generally best for internal consumption. If you expose an API to the wild world, you need more than just a JSON translator. You also need anti-spoofing measures, transaction rate limits, authentication and input verification. Raw thrift is really pretty raw and not so long ago, it was pretty easy to get an Exception by just sending random bytes to a Thrift server.
That said, if *all* you care about is the JSON/Thrift translation, jabsorb+thrift looks pretty sweet. On Mon, Apr 27, 2009 at 10:57 AM, Dave Engberg <[email protected]>wrote: > > ... a JavaScript ORB bridge. > > > > Swaroop C H wrote: > >> ... how do people deal with the issue >> of interaction between Ajax and Thrift-based APIs? >> ... >> If the Ajax cannot access the API directly, then a wrapper (that works >> with Ajax) would have to be written for every single service call. >> >>
