Using Atmosphere's Annotations - Atmosphere/atmosphere Wiki

This page is for Atmosphere 1.0.x ONLY. For 2.0, see

Configuring your application

If you are using Atmosphere Runtime, you can configure your application using an atmosphere.xml or web.xml's init-param, or use Atmosphere's Annotation. The available annotations are:

Using annotation

First, add in your pom.xml if you are using Atmosphere 1.0.x. Not needed with 1.1


Next, define the following in your web/application.xml


The available annotations are: