WebSockets in Resin 4.0.2
WebSocket support is a new feature we added in Resin 4.0.2 that I’m very excited about. The WebSocket API is a new HTML 5 capability giving browsers full bi-directional asynchronous messaging capability. Like an instant messaging client, either the browser or the server can send a message at any time.
Unlike Comet and long-polling, WebSockets uses a single persistent TCP connection, giving much better response times. If all works as planned, browsers will be able to run truly interactive applications.
I’ve added a rough draft of a WebSocket tutorial in Resin (running on the caucho.com server.) To run it, you’ll need to download the nightly Chrome build.

December 16th, 2009 at 12:31 pm
[...] His example uses Erlang, but the same idea applies with Resin’s WebSocket support [...]