Jetty has always been in the front line on the implementation of the WebSocket Protocol.
The CometD project leverages the Jetty WebSocket implementation to its maximum, to achieve great scalability and minimal latencies.
Until now, however, support for WebSocket over SSL was lacking in Jetty.
In Jetty 7.6.x a redesign of the connection layer allows for more pluggability of SSL encryption/decryption and of connection upgrade (from HTTP to WebSocket), and these changes combined allowed to implement very easily WebSocket over SSL.
These changes are now merged into Jetty’s master branch, and will be shipped with the next version of Jetty.
Developers will now be able to use the wss:// protocol in web pages in conjunction with Jetty on the server side, or just rely on the CometD framework to forget about transport details and always have the fastest, most reliable and now also confidential transport available, and concentrate in writing application logic rather than transport logic.
WebSocket over SSL is of course also available in the Java WebSocket client provided by Jetty.
Enjoy !


6 Comments

Ryan · 16/12/2011 at 18:37

Is websocket SSL support going to be added to the Jetty 8.1 releases as well? I assumed it would, so I updated to the 8.1 RC and noticed that apparently it isn’t. Will we need to use 7.6 if we want SSL support for websockets?

Lance · 23/02/2012 at 04:30

Exciting to see wss:// in Jetty.
How would you go about using it within Jetty ?
Are there any good tutorials on the subject ?

منتديات · 30/04/2012 at 01:02

Is websocket SSL support going to be added to the Jetty 8.1 releases as well? I assumed it would, so I updated to the 8.1 RC and noticed that apparently it isn’t. Will we need to use 7.6 if we want SSL support for websockets?

    simon · 30/04/2012 at 18:59

    Jetty 7.6.x and 8.1.x are in sync with respect to features, apart 8.x supporting Servlet 3.
    You can find support for WebSocket over SSL in the latest 8.1.3 release.

Eclipse Jetty: WebSocket over SSL in Jetty · 12/12/2011 at 13:47

[…] Go here to read the rest: Eclipse Jetty: WebSocket over SSL in Jetty […]

WebSocket over SSL in Jetty | Eclipse | Syngu · 13/12/2011 at 06:53

[…] Jetty has always been in the front line on the implementation of the WebSocket Protocol.The CometD project leverages the Jetty WebSocket implementation to its maximum, to achieve great scalability and minimal latencies.Until now, however, support for WebSocket over SSL was lacking in Jetty.In Jetty 7.6.x a redesign of the connection layer allows for more pluggability of SSL encryption/decryption and of connection upgrade (from HTTP to WebSocket), and these changes combined allowed to implement very easily WebSocket over SSL.These changes are now merged into Jetty’s master branch, and will be shipped with the next version of Jetty.Developers will now be able to use the wss:// protocol in web pages in conjunction with Jetty on the server side, or just rely on the CometD framework to forget about transport details and always have the fastest, most reliable and now also confidential transport available, and concentrate in writing application logic rather than transport logic.WebSocket over SSL is of course also available in the Java WebSocket client provided by Jetty.Enjoy !    Eclipse Read the original post on Planet Eclipse… […]

Comments are closed.