I recently wrote about the WebSocket support in the latest JavaEE release i.e JavaEE 7. In the post I show how to create a WebSocket server end point and deploy it in Glassfish server and then connect to the server end point using a Javascript client end point. The complete article can be found here.
PS: I will be mostly adding my technical articles on Javabeat and all my previous articles can be found here. And I will link interesting and useful articles from this blog.