title: How to deploy Tomcat's example websocket applications?
body: <p>I am trying understand how to deploy the examples referenced in the Apache Tomcat 7 <a href="http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html" rel="noreferrer">WebSocket How-To</a> page. </p>
  
  <p>The Application Development section advises reading javadoc on <a href="http://tomcat.apache.org/tomcat-7.0-doc/api/index.html?org/apache/catalina/websocket/WebSocketServlet.html" rel="noreferrer">WebSocketServlet</a> class. But looking at the <a href="http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/" rel="noreferrer">server side code of the examples</a>, none of the classes in the three examples <code>extend WebSocketServlet</code>, which is what I had expected it to do.</p>
  
  <p>I am returning to servlet development after over a decade and feeling quite lost with all the annotations in these examples. Is there another How-To that has step-by-step simple instructions for getting a WebSocket using servlet up and running?</p>