Forcing JSR 356 for WebSocket Application - Atmosphere/atmosphere GitHub Wiki
By default, Atmosphere always use the Server's native WebSocket API instead of jsr356. To force jsr356, add the following parameter to WEB-INF/web.xml
or META-INF/atmosphere.xml
:
<init-param>
<param-name>org.atmosphere.cpr.asyncSupport</param-name>
<param-value>org.atmosphere.container.JSR356AsyncSupport</param-value>
</init-param>