-
Bug
-
Resolution: Done
-
Major
-
15.0.1.Final
-
None
When the @ApplicationScoped annotation is used in combination with @ServerEndpoint the class is instantiated on every new connection instead of being instantiated once for the whole application.
The expected behaviour:
There should be only one instance of the class which is annotated with @ApplicationScoped and @ServerEndpoint annotations.
I have created a reproducer and added it as attachment.