gRPC example in Java
-
Start hello service (server)
cd hello-service mvnw clean spring-boot:run
-
In another shell, start greeting service (client)
cd greeting-service mvnw clean spring-boot:run
This repo can be used for a polyglot test together with go-grpc
-
Start server (hello-service)
cd java-grpc/hello-service mvnw clean spring-boot:run
-
In another shell, start client (greeting-service)
cd go-grpc/greeting-service GO111MODULE=on go run main.go
-
Start server (hello-service)
cd go-grpc/hello-service GO111MODULE=on go run main.go
-
In another shell, start client (greeting-service)
cd java-grpc/greeting-service mvnw clean spring-boot:run
- https://www.youtube.com/watch?v=BOW7jd136Ok
- https://github.com/LogNet/grpc-spring-boot-starter
- https://github.com/saturnism/grpc-java-by-example
- https://github.com/grpc/grpc-java
- https://www.xolstice.org/protobuf-maven-plugin/usage.html
- https://grpc.io/docs/quickstart/java.html
- https://www.baeldung.com/grpc-introduction
- https://codenotfound.com/grpc-java-example.html
- https://grpc.io/docs/tutorials/basic/java.html
- https://spring.io/blog/2015/03/22/using-google-protocol-buffers-with-spring-mvc-based-rest-services