Skip to content

ShiqiRao/java-bazel-thrift-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bazel-thrift-demo

Install Thrift

brew install thrift

Generate Java Code With Thrift

thrift -r -gen java Hello.thrift

Build

bazel build //:server_deploy.jar

bazel build //:client_deploy.jar

Run

java -jar bazel-bin/server_deploy.jar

java -jar bazel-bin/client_deploy.jar

Result

The client's terminal will display:

received:Hi!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published