Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 362 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 362 Bytes

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!