A sample chat application that works on HTML5  WebSockets using Tomcat server.