Thanks Eugen, and where did you place the server-side class decorated with
@ServerEndpoint("/ws")?  Perhaps it doesn't matter whether it is placed in
'pages' or 'services', as Tomcat finds it regardless.

Is it necessary to invoke new threads (multi-threading) within each of the
methods decorated with @OnOpen, @OnClose, @OnMessage and @OnError, or does
Tomcat automatically handle cases of multiple, simultaneous client
connections?

I found the below 'howto' on using Tomcat WebSockets, but the client side
code is implemented in HTML and JavaScript, not Java.  It would be useful
to find some sample, client-side Java code for connecting and
communicating via a Tomcat WebSocket.

https://examples.javacodegeeks.com/enterprise-java/tomcat/apache-tomcat-websocket-tutorial/

Regards,

Chris.


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

Reply via email to