tree: dec1083adf9fc3aa56d1f3a732c002b4776290d4 [path history] [tgz]
  1. src/
  2. build.gradle
  3. README.md
examples/README.md

grpc Examples

In order to run the examples simply execute one of the gradle tasks mathserver, mathclient, stockserver or stockclient.

For example, say you want to play around with the math examples. First you want to start the server and then have the client connect to it and do some fun calculations.

Assuming you are in the grpc-java root folder you would first start the math server by running

$ ./gradlew :grpc-examples:mathserver

and in a different terminal window then run the client by typing

$ ./gradlew :grpc-examples:mathclient

That's it!