Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

using-thrift

Source of using thrift in Java and node.js. TServer (Java), TClient(Java and node.js). Java server can be launched from console or(and) under application continer(like Tomcat).

  1. Build:

     $ mvn clean install
     $ cd thrift-client
     $ ./generateNodePackage.sh
     $ npm install
     $ sudo npm link
    
  2. Start java server:

     $ cd java-server/
     $ mvn jetty:run
    
  3. Start java client:

     $ cd java-client
     $ java -Dfile.encoding=UTF-8 -jar target/java-client-1.0-SNAPSHOT.one-jar.jar
    
  4. Run node.js client

     $ cd node-client
     $ npm install
     $ npm link using-thrift
     $ node node.js
    

About

Source of using thrift in Java and node.js. TServer (Java), TClient(Java and node.js).

Resources

Stars

14 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages