title: Is there an example for utilization of WebSockets in JBoss AS7?
body: <p>Is there somewhere an example that utilizes this websocket implementation for JBoss Application Server > 7.1.2 <a href="https://github.com/mikebrock/jboss-websockets" rel="nofollow">https://github.com/mikebrock/jboss-websockets</a></p>
  
  <p>I can't get it to work with the brief description thats there.</p>
  
  <p>I've already setup the WebSocketServlet and bound it to an address and then when I'm trying to connect to the Servlet from the Browser (newest stable Chrome) over ws:// it fails (405 access not allowed) and over wss:// nothing happens , it stays in the connecting state and does not throw any errors on client or server side. </p>
  
  <p>And if there's another way to implement websocket servlets I would be even happier.
  I also saw that you can get it running with Jetty described in here: <br>
  <a href="http://golovnin.blogspot.de/2012/04/jboss-7-and-websockets.html" rel="nofollow">http://golovnin.blogspot.de/2012/04/jboss-7-and-websockets.html</a>, <br>
   but I'd rather do it the other way. </p>