• About this blog

    This blog features updates, opinions, and technical notes from Caucho engineers about Caucho products, the enterprise Java industry, and PHP. Caucho Technology is the creator of the Resin Application Server and the Quercus PHP in Java engine. A leader in Java performance since 1998, Caucho is a Sun JavaEE licensee with over 9000 customers worldwide.
  • Follow Caucho on Twitter

    • Tell us your thoughts about using IDEs with Resin: http://forum.caucho.com/showthread.php?t=16022 2010/08/26
    • Wondering if a CDI-based alternative to grails/roo has appeared. A groovy/CDI framework would be interesting. 2010/08/24
    • By open source experience, I mean contributions 2010/08/17
  • Tags

    ajaxworld apache bam candi cdi cloud cluster comet deploy devoxx eclipse embedded facebook flash flex google app engine hessian hmtp ioc javaone javazone jms marakana messaging mule newsletter nyjug osgi php pomegranate quercus resin resin 4.0 REST servlet sfjug silicon valley code camp training tssjs watchdog webbeans web profile websockets wordcamp wordpress
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
« Resin REST adminstration interface
Versioned and Staged Remote Deployment in Resin 4.0.2 »

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.

This entry was posted on Thursday, December 10th, 2009 at 10:42 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “WebSockets in Resin 4.0.2”

  1. Caucho Technology » Blog Archive » Comet is Dead, long live websockets Says:
    December 16th, 2009 at 12:31 pm

    [...] His example uses Erlang, but the same idea applies with Resin’s WebSocket support [...]

Leave a Reply

You must be logged in to post a comment.


Caucho Technology is proudly powered by WordPress and Quercus®
Entries (RSS) and Comments (RSS).