The Netty-based server is currently the only server offered by grpc-java.

There is a PR <https://github.com/grpc/grpc-java/pull/4738> to allow
exposing gRPC services through the servlet 4 API. However, due to how grpc
methods are managed, the servlet would need to be deployed with the `/`
path. The workaround I've seen most is for the gRPC server to be started on
a separate port.

On Wed, Apr 1, 2020 at 4:15 AM <marcthorger...@gmail.com> wrote:

> Hi gRPC community,
>
> I'm looking into making a the swap from gRPC for the client I work for -
> the app in question is quite monolithic and we are looking to decouple it,
> starting off with the service layer. The client asked that I look into
> gRPC, and while it looks like it would fit quite well with the client, I
> cannot seem to find any other way but to use the Netty library to actually
> host the gRPC services - is this a correct understadning?
> The application has some core business logic hosted on an IBM WebSphere
> Application Server that the gRPC services would need to serve in their
> implementation.
>
> If I were to use REST, i could use JAX-RS and deploy the the endpoints as
> a webmodule on the existing Application Server - does gRPC offer a similar
> way of hosting the services, or is my only option to create a Netty server,
> serving the services next to the Application server using the gRPC Netty
> server builder?
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/8aaab39a-cc1e-4743-b8f8-5c98cb476ef5%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/8aaab39a-cc1e-4743-b8f8-5c98cb476ef5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oOSjf9FWh_A_d6YL-MG3DOYYqD_JSwNv-m%3DJzoLSRYR-w%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to