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

  1. what client language,
  2. the thrift protocol/transport setup
  3. relevant parts of code, , last not least
  4. 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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -