New Version of ColdFusion WebSocket Gateway

Today I finally got around to updating my cf-websocket-gateway project. This version is based on the Webbit WebSocket server, which is itself based on the Netty project. I made this change because the Java-Websocket server I was using was not being updated and Webbit is a very nice WebSocket server that supports the latest versions of the WebSocket specifications and thus works with the latest versions of Chrome, Safari, etc.

Of course, shortly after migrating to Webbit, Java-Websocket was updated to support the latest WebSocket specifications so if you would like to continue to use that server as the underlying engine for your gateway check out the java-websocket branch on Github.

I should note that the API has changed with this release. If you have existing listener CFCs that use the onClientOpen and onClientClose listener methods those should be renamed to simply onOpen and onClose. Once that change is made your existing listeners should work with version of the gateway. As always, please report any issues on the Github project page.

Another cf-websocket-gateway Update

I just released version 1.2 of cf-websocket-gateway. This is a bug fix release which addresses I/O issues in the underlying Java-WebSocket server. If you are using cf-websocket-gateway I highly recommend updating to this latest version.

New cf-websocket-gateway Released

I've released a new version of cf-websocket-gateway which allows for targeted messaging. In the first release, messages were sent to all connected WebSocket clients. With this release you can now send messages to a single client or sets of clients. For more information see the github wiki.

I've also upload three sample applications that show how to use the WebSocket gateway with Flash fallback for browsers that do not support WebSockets. The examples are available in the v.1.1 download.

WebSockets with ColdFusion

Today I released a ColdFusion WebSocket Gateway on RIAForge and Github. The name pretty much says it all. It is a event gateway for messaging between ColdFusion and conforming clients via the WebSocket protocol. The gateway is based on Nathan Rajlich's Java-WebSocket server implementation, which I updated to support both WebSocket draft 75 and draft 76 clients. For more info on how to install and use this gateway see the Github wiki page.


BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.