ESP8266 & WEBSOCKET

Hello everybody,
Today I started to work on a communication between a WebSocket and the ESP8266. I would like to create a Websocket using Java, I started to use GlassFish server but It has too much problems even now with the website, It doesn't wont to load me the html file: Screenshot by Lightshot Dont know what to do with it. Does anybody know about a better server and about good library in order to contact with the websocket with a use of ESP8266?
Thanks!

here you go

I have 1 example:
JavaScript and websockets

Ray