Deploying Jersey webapp with socket

Hi All,
I’ve developed a custom webapplication with Jersey and I would like to run it with openhap. I put it inside the “webapp” folder. It all works fine, but I can’t use the Websocket service (that usually works if I deploy the webapp inside another external server, without involving OpenHab).

Anyone worked with websocket inside OpenHab?

Here there is the java code for my websocket implementation
ws.json (427 Bytes)