目前我有一个具有以下配置的Jersey-Spring应用程序。
<servlet>
<description>JAX-RS Tools Generated - Do not modify</description>
<servlet-name>JAX-RS Servlet</servlet-name>
<servlet-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</servlet-class>
<init-param>
<param-name>javax.ws.rs.Application</param-name>
<param-value>com.company.sample.WebServiceApplication</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
<param-value>com.sun.jersey.api.container.filter.PostReplaceFilter</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
现在,我需要在场景中添加一些Atmosphere Comet功能。我怎样才能做到这一点? Atmosphere的文档解释了如何将Atmosphere与Jersey或Atmosphere与Spring MVC(因此是Spring)相结合,但如何整合三个,Jersey + Spring + Atmosphere?