While one can build this quickstart with Java 6, this does not work on JBoss EAP 6.3 running on a Java 6 VM. Websocket support in EAP 6.3 requires Java 7 and above.