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 Tue, 09 Apr 2019 01:03:57 GMT
Just to clarify, both services being injected the IoC way are developed by
me as part of the core program, so nothing sinister to be concerned about.

What would be useful to know is whether Tomcat instantiates classes
annotated with @ServerEndpoint inside or outside of the context of the WAR
app deployed on Tomcat.  If outside, probably this means that any endpoint
class (static) field values are not shared across ALL instances of the
endpoint (the Tapestry service registry also instantiates the endpoint as
a service, necessary for pushing messages out, such as with bulk
broadcasting).

Chris.


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


Mime
View raw message