What is gRPC?
gRPC is a modern open-source high performance Remote Procedure Call (RPC) framework that use HTTP2 and simplifies the communication with protocol buffers to share data between client and server. By enabling gRPC Payara Server gives more options to create binary adaptable services.
What can we do with it?
We can create services more efficient than REST.
Use HTTP/2 to provide full duplex communication between the client and the service.
Use protocol buffers to optimize and simplify communication.
Enables bidirectional streaming out-of-the-box.
gRPC supports the means for users to implement gRPC style service programming.
You can find detailed information about gRPC here: https://grpc.io/docs/what-is-grpc/introduction/
You can find detailed information about to define a grpc service and client here: https://grpc.io/docs/languages/java/basics/ .
You can find detailed information about
protobufprotocol here: https://grpc.io/docs/what-is-grpc/introduction/#working-with-protocol-buffers.