It's possible to use the same Apache Thrift server for Javascript web and for Java? At the moment, I have a ThreadPoolServer for Javascript:
TServer server = new TThreadPoolServer(new TThreadPoolServer.Args(serverTransport).processor(processor));
And a simple server for Java:
TServer jserver = new TSimpleServer(new Args(jserverTransport).processor(jprocessor));
Both of them share the same info. Now, I have this problem where somethimes the data comes incomplete in one of the clients and dont know if it's for that.