Skip to content

Forcing JSR 356 for WebSocket Application

Jonathan Paugh edited this page Feb 24, 2016 · 2 revisions

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>

Step by Step Tutorials

Concepts & Architecture

15 Minutes Tutorial

Advanced Topics

API

Known WebServer Issues

References

External Documentations

githalytics.com alpha

Clone this wiki locally