You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracking issue for grpc Servlet API being experimental #5066
What's the status of this gRPC -> servlet functionality?
Is anyone working on this? Is it being maintained?
Does this actually work? I am trying to get it to work but it feels half-baked.
Sometimes works, sometimes doesn't.
The servlet spec is moving to Jakarta. The current release is v6. Any plans on supporting the latest servlet spec? It seems to me the new specs have a lot more functionality that might make servlet work better.
In response to the JavaDocs linking to this issue, a real world use case of this feature is that it allows integration with most open source JVM web frameworks.
A lot of tutorials for JVM web service frameworks have you interact with gRPC by spinning up the stanard servlet and then a separate gRPC server. This is clunky and confusing.
At least one Bet at Google is trying to do this right now. First tier support of this feature would probably really help with adopting gRPC.
We are looking for people who are using this to actively contribute and comment on whether they like the current API or what kinds of changes they would like to see.
We are using it on top of jetty. This really helps adopting gRPC in existing internal service SDKs based on servlet without rewriting a lot of code. Great feature so far !
Activity
jiaqi commentedon Mar 14, 2020
Is the servlet package going to be released at some point?
I understand it's experimental but how are people with needs supposed to use it?
lprimak commentedon May 13, 2021
What's the status of this gRPC -> servlet functionality?
Is anyone working on this? Is it being maintained?
Does this actually work? I am trying to get it to work but it feels half-baked.
Sometimes works, sometimes doesn't.
AngeloRubens commentedon Jul 22, 2022
Any news for this feature?
benstpierre commentedon Jun 6, 2023
The servlet spec is moving to Jakarta. The current release is v6. Any plans on supporting the latest servlet spec? It seems to me the new specs have a lot more functionality that might make servlet work better.
incident-recipient commentedon Sep 5, 2023
In response to the JavaDocs linking to this issue, a real world use case of this feature is that it allows integration with most open source JVM web frameworks.
A lot of tutorials for JVM web service frameworks have you interact with gRPC by spinning up the stanard servlet and then a separate gRPC server. This is clunky and confusing.
At least one Bet at Google is trying to do this right now. First tier support of this feature would probably really help with adopting gRPC.
krarunraaj commentedon Oct 16, 2023
grpcServlet is still under experimental phase . Any plans for releasing it officially ?
MelvinSam2000 commentedon Feb 13, 2024
This seems to be abandoned. Does anyone know another way to run grpc service on a EE server?
AngeloRubens commentedon Feb 13, 2024
Hi @MelvinSam2000 , for run grpc service on EE Server there are:
and for the standard specification there is https://github.com/jakartaee/rpc(initial development)
larry-safran commentedon Mar 6, 2024
We are looking for people who are using this to actively contribute and comment on whether they like the current API or what kinds of changes they would like to see.
panchenko commentedon Mar 8, 2024
It works for simple cases, it would be great merging #10125. Currently I have to include that interceptor into our code.
feat[ServletAdapter]: Ability remove context path when get method name
hypnoce commentedon Mar 9, 2026
We are using it on top of jetty. This really helps adopting gRPC in existing internal service SDKs based on servlet without rewriting a lot of code. Great feature so far !
haku commentedon Oct 25, 2026
I have been using this for a quite a while in my projects, it is very convenient to be able to server gRPC and regular web traffic on the same port.
Mostly wanted to post here to say than you for providing https://github.com/grpc/grpc-java/blob/master/servlet/jakarta/build.gradle for migrating to
jakarta.servlet.*!(in case some people are upgrade to Jetty 11+ and had not noticed it existed)