You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
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.
Penn (Dapeng) Zhang
unread,
Aug 17, 2018, 3:59:39 PM8/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
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 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.