Jayant Kolhe 36aa13a959 Merge pull request #108 from LisaFC/master пре 11 година
..
android 2cdee1fbfa Fix Android example пре 11 година
README.md dd3b54d639 updated with new example code location and build пре 11 година
javatutorial.md 8813157abe changed gradle command to ./gradlew пре 11 година

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.