The Java gRPC implementation. HTTP/2 based RPC
Go to file
Lisa Carey 2587dc302e updated with new example code location and build 2015-02-26 14:53:08 +00:00
android Fix Android example 2015-02-25 21:57:29 -08:00
src/main/java/ex/grpc Removes the unused protos, updates the README to reflect the protos in use 2015-02-19 07:52:13 -08:00
README.md updated with new example code location and build 2015-02-26 14:53:08 +00:00
javatutorial.md changed gradle command to ./gradlew 2015-02-25 22:34:56 +00:00
pom.xml Moves java overview project to a subdirectory 2015-02-06 13:09:20 -08:00
run_greeter_client.sh Complete the change s/Greetings/Greeter 2015-02-18 17:43:41 -08:00
run_greeter_server.sh Complete the change s/Greetings/Greeter 2015-02-18 17:43:41 -08:00

README.md

gRPC in 3 minutes (Java)

PREREQUISITES

INSTALL

1 Clone the gRPC Java git repo

$ cd <path/to/your/working_dir>
$ git clone https://github.com/grpc/grpc-java

2 Install gRPC Java, as described in How to Build

$ # from this dir
$ cd grpc-java
$ # follow the instructions in 'How to Build'

TRY IT!

Our Gradle build file simplifies building and running the examples.

You can build and run the Hello World server used in Getting started from the grpc-java root folder with:

$ ./gradlew :grpc-examples:helloWorldServer

and in another terminal window confirm that it receives a message.

$  ./gradlew :grpc-examples:helloWorldClient

TUTORIAL

You can find a more detailed tutorial in gRPC Basics: Java.