I'd recommend using a well known js solution through native binding. Websockets and comet have issues that show up only lately in your project: I had a bad exeperience in 2011 with a GWT lib where connections where closed but me not notified, unable to reconnect etc...
I've spent two weeks understanding the lib and finding many things had to be rewritten. So if you know about a good js/jQuery library for that, I'd recommend you use that one