thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Luciani <>
Subject Re: Javascript Client Architecture
Date Tue, 17 Jul 2012 20:32:07 GMT
Yes you generate a JS client,  It communicates via the JSONProtocol so you
must use that Protocol on the serverside.

Also you need to use the TServlet java Server to access it from a web

On Tue, Jul 17, 2012 at 4:22 PM, Juan Moreno

> My Project is using Thrift and I am trying to understand the Javascript
> Client Architecture.
> My Question is basically this:
> 1. You define a .thrift file with your structures.
> 2. You Compile this file into Java(The Server/Service end) and
> Javascript(The Client end)
> 3. In Java Thrift Generates a Class for each struct and service. What about
> in Javascript? Is this also the same?
> Can this Generated Javascript talk directly to the Java Server--that is,
> can it open a TSocket or start a Transport--or must there always
> be a REST Service proxy-ing between the two?
> Thanks!
> --
> Juan Wellington Moreno
> *Software Engineer*


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message