Java - ApacheCXF web socket example
Here is the git hub url for an example of ApacheCXF with websocket.
https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/websocket
Stack overflow
http://stackoverflow.com/questions/26021026/cxf-websocket-configurtion