It depends on what you actually want to do. If you need to expose your grpc-based Java application as a backend of RESTful APIs, nothing prevents you from combining it with grpc-gateway. Even though grpc-gateway itself is written in Go, it does not actually matter because grpc-gateway works as an independent process by design.
If you need a convenient way to call gRPC methods from command line, you can consider grpc_cli, polyglot, grpcurl, ... If you need to marshal your payloads not into protobuf but into JSON, and if gRPC wire protocol over HTTP/2 does not actually matter with you, you can use a custom marshaler <https://github.com/yugui/grpc-custom-serializer> in your gRPC server. Thanks, Yuki Yugui Sonoda On Wed, Feb 28, 2018 at 10:20 AM <[email protected]> wrote: > Hi, > > Does a gRPC server work with a REST (JSON) Client? or do I need to have a > intermediary like ESP or grpc-gateway? Is there any grpc-gateway for java > implementation? > > thanks, > Venkat > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/06f9ea9a-5540-48d9-aeb4-8b08e18be91a%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/06f9ea9a-5540-48d9-aeb4-8b08e18be91a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAB%3DrkjyRbnkxk2N_0DtB--j3LE_JodZkwoqBmaxhdouARDNdjQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
