WebSocket support is represented by the <f:websocket> tag, the PushContext interface, and the @Push annotation, introduced in Jakarta Faces 2.3. It is built on top of the JSR-356 WebSocket specification, introduced in Jakarta EE 7. JSR-356 is even natively supported in Tomcat since 7.0.27 and in Jetty since 9.1.0.
In Mojarra, the <f:websocket> has an additional Jakarta EE dependency: JSON-P (JSR-353). In case you’re targeting ...