Compatibility of gRPC with Java web servers (Tomcat, Jetty, etc.)

2,078 views
Skip to first unread message

warren....@gmail.com

unread,
Jul 21, 2016, 12:54:25 PM7/21/16
to grpc.io


We have an existing Java servlet based application that needs to be supported on a 
wide variety of web application containers (Tomcat, JBoss, Jetty, Weblogic, etc.)

If we add gRPC server support to the application, are we going to run into issues on
with those containers?  e.g. classloader problems?  What are the considerations that
we need to be aware of?

Thanks



 


Louis Ryan

unread,
Jul 26, 2016, 10:08:18 PM7/26/16
to warren....@gmail.com, grpc.io
Currently the GRPC server won't port share with your servlet engine which may or may not be a consideration for you. GRPC does not use classloader magic so you're unlikely to have issues there. We require a specific version of Netty so if you have some other library using Netty you might have a library version conflict but I would be surprised. None of the servlet engines you mentioned are dependent on Netty I believe.

--
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 grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/74bd77ef-aac5-4ebf-9c19-7651139fd42f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

warren....@gmail.com

unread,
Jul 27, 2016, 1:02:30 PM7/27/16
to grpc.io, warren....@gmail.com

Thanks Louis - appreciated. 
Reply all
Reply to author
Forward
0 new messages