Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Java-applet implementation of HTML5 WebSockets?

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.

like image 886
fadedbee Avatar asked Dec 21 '09 14:12

fadedbee


1 Answers

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.

like image 80
ZoogieZork Avatar answered Oct 27 '22 19:10

ZoogieZork