grpc-experiments/java
Eric Anderson 3f1a24633a Remove reference to Netty 5
grpc-java now depends on Netty 4.1. Simply removing the version doesn't seem to reduce the doc's usefulness but also prevents needing to update it as much.
2015-03-16 12:35:18 -07:00
..
android Fixes the path for cd command 2015-02-28 00:08:57 +09:00
README.md Remove reference to Netty 5 2015-03-16 12:35:18 -07:00
javatutorial.md Added client implementation details 2015-02-26 17:06:14 +00: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.