tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Dodunski" <ChrisFromSquir...@christopher.net.nz>
Subject Re: Using WebSockets with a Tapestry WebApp running on Tomcat
Date Mon, 08 Apr 2019 12:07:24 GMT
Hi John,

The server-side endpoint is itself implemented as a Tapestry 'service',
allowing it to be injected into other application classes for pushing
messages out to connected clients.  Whereas the service injected into the
endpoint class itself allows the endpoint to query this service when a
client first connects, then send the client some data in the form of a
message to be displayed on the client's UI.

The whole point of the mutual injection between these two services (the
WebSocket being one) is to allow two way communication - push and pull.

Regards,

Chris.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message