JavaSocket and Tomcat7 usage examples for WebSocket