WebSocket allows server side push events using OmniFaces o:socket. Faces
        f:websocket is not currently working
        due to an open MyFaces defect: MYFACES-4685
        
You must enable the web socket endpoint by below boolean context parameter in web.xml:
        
            <context-param>
               <param-name>org.omnifaces.SOCKET_ENDPOINT_ENABLED</param-name>
               <param-value>true</param-value>
            </context-param>