users@tyrus.java.net

Deploying a Tyrus server endpoint on an existing Grizzly instance

From: Gert van Spijker <gert.van.spijker_at_intermodaltelematics.com>
Date: Tue, 10 Jan 2017 16:40:45 +0000

I am contemplating to use Tyrus for Web Sockets support on our existing
Java back-end.
The back-end is a plain Java 8 application, but sets up a Grizzly server
with Jersey Resources registered through a ResourceConfig instance.

I am aware of the "tyrus-container-grizzly-server" module, but that
would presumably import and set up a separate Grizzly server, possible
even with a different version from the one we are already using.

How do I go about to set up a Tyrus WebSocket Endpoint on a Grizzly
instance shared with Jersey JAX-RS Resources?

Thanks

Gert van Spijker