I've created a WebSocket in a JSF application. It works fine, but when I invoke a JSF bean action using <h:commandButton action="#{bean.something}">
, then it restarts the WebSocket connection.
Is there any way to implement this 2 types of connections without interrupting each other?