Starting with Atmosphere 0.5, you can now use Google Guice to configure Atmosphere. Google Guice support is enabled by referencing the Guice filter GuiceFilter and an application specific ServletContextListener that extends from GuiceServletContextListener in the web.xml. For example, the web.xml may be as follows: