Spotlight on GF 4.1 - WebSocket Client Redirect
Tyrus and GlassFish 4.1 now support HTTP 3xx Redirect handling during the WebSocket handhake phase. This feature allows a WebSocket server end-point to transparently redirect clients to another server end-point. Tyrus WebSocket client can be configured to accept to be redirected. The number of redirections allowed is also configurable (eg. to avoid infinite redirection loop). For more details on this feature, please check this section of the Tyrus documentation.
Originaly posted on The Aquarium blog.