I like the look of the WebSocket library below:

https://github.com/TooTallNate/Java-WebSocket

It is 100% Java, and includes example code for both server and client. 
Also, it supports multi-threading 'out of the box'.

If I were to use this library's server code, placed in the Tapestry
'services' directory, must I still decorate the server class with
@ServerEndPoint for Tomcat/Tapestry to direct WebSocket connections to it?

Also, where would you recommend placing the below lines of start up code
in order to run the WebSocket server inside the 'services' directory?

  WebSocketServer server = new SimpleServer(new InetSocketAddress(host,
port));
  server.run();

Thanks,

Chris.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to