Can you explain what exactly you mean by "integrate"? "grpc runs on their own server" means grpc server runs on their own port, and only serves requests from grpc clients. You can run a grpc server inside your application. You can create and start a grpc server in your application code regardless your application will be compiled into a war file and deployed to a Java EE application server or a jar file and run directly as a Java SE app. The grpc server will create a different port than the port of your existing web application/microservice.
If your goal is to share the grpc port or even the resource URI with your existing web application'port, currently it is not possible. To pursue this goal, there is a ongoing project <https://github.com/grpc/grpc-java/issues/1621> to add the ability to run a gRPC server as a Servlet on any web container with the Servlet 4.0 support and HTTP/2 enabled. You can add your comments on it how the API you would like to be added. Hopefully it will be available next quarter. Thanks On Friday, August 17, 2018 at 6:52:23 AM UTC-7, [email protected] wrote: > > Hi Team, > > I am beginner for grpc. I went through some documentation of grpc. > Still i am confused with integration of grpc with our project architecture > . > > Our Project consists of 5 microservice which communicate each other with > Spring Remoting (RPC). All microservices are deployed as war in apache > tomact. > As i went through grpc documentation, it said that grpc runs on their own > server. How i will integrate with my services. > > -- 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/d4003052-b686-40af-ad42-ececffbf14e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
