, using the web socket method level annotations, are web socket lifecycle methods.
 <p>
 For example:

 <pre>
 <code>
 &#64;ClientEndpoint(subprotocols="chat")
 public class HelloServer {

     &#64;OnMessage
     public void processMessageFromServer(String message, Session session) {
         System.out.println("Message came from the server ! " + message);
     }

 }
 </code>
 </pre></div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>dannycoward</dd>
</dl>
</li>
</ul>
</div>
<div class="su