Adventage of websockets.
Ping, pong text exchange through WebSocket js, tomcat8 (buttons)