javascript - using thrift in js without relying on thrift RPC -


Currently working on a project for which many platforms are required to use many programming languages ​​(including JS) to communicate with the Java Server. <

The protocol currently runs on all platforms Using savings to serialize the data, but each platform is using its own transport system to transmit data from the server (where it can be used by D-S Real is).

However in JS, because it is a lack of binary-protocol (TBRI protocol), it seems impossible.

Is that the case, JS simply can not serialize data (I have no argument that it will serialise data in JSN-Thrivweight format) and send it using other methods?

Thanks

The TJSN Protocol implementation of JS Library in Thief and one at the top of XMLHttpRequest Transport is involved. It should work as a client of TServlet + TJSONProtocol Server, so you do not even need other ways to send data.

Comments