javascript - Use the same Apache Thrift server in two different languages -
it's possible use same apache thrift server javascript web , java? @ moment, have threadpoolserver javascript:
tserver server = new tthreadpoolserver(new tthreadpoolserver.args(servertransport).processor(processor));
and simple server java:
tserver jserver = new tsimpleserver(new args(jservertransport).processor(jprocessor));
both of them share same info. now, have problem somethimes data comes incomplete in 1 of clients , dont know if it's that.
if question is, whether or not particular service connected client in arbitrary, thrift-supported language, answer big yes because that's thrift about.
now, have problem somethimes data comes incomplete in 1 of clients , dont know if it's that.
please add relevant information, such
- what client language,
- the thrift protocol/transport setup
- relevant parts of code, , last not least
- what error did (stacktrace included, if any)
i forgot im using http server connect javasscript. http://codeshare.io/llr5f im not sure how use java client
the java htp client should work similar javascript client. thrift library whole consistent across languages re how things work , how named.
Comments
Post a Comment