Is there a Java-applet implementation of HTML5 WebSockets?
I'd like to use WebSockets for a new project, and provide a backward compatible implementation of WebSockets (for all current non-dev browsers) using Java (or maybe Flash).
I only want to write and maintain WebSockets on the server-side. I only want to have to deal with the WebSockets API on the client side (though this API will be 'faked' by a Java-applet, if real WebSockets aren't available).
Thanks,
Chris.
Here's one possible implementation (uses Flash as a fallback):
http://github.com/gimite/web-socket-js
No guarantees (I'm away from my development environment right now), but it looks like it'll do what you're looking for.