Writing Asynchronous Web Application (Comet) using the Atmosphere Framework

来源:互联网 发布:sql注入漏洞的原理 编辑:程序博客网 时间:2024/05/18 05:37

Atmosphere (http://atmosphere.dev.java.net) is a high-level API designed to make it easier to build Comet-based Web applications that include a mix of Comet and RESTful behavior. Today writing portable Web applications that can use the power of the Comet technique is almost impossible: Tomcat, Jetty, and Grizzly/GlassFish application server all have their own set of private APIs. Atmosphere offers API that will works everywhere without the needs to learn the web server specific API.

Atmosphere leverages and builds on Project Jersey and the Java API for RESTful Web Services (JAX-RS). Jersey is the open resource reference implementation of JAX-RS that makes it easier to build RESTful Web services. Atmosphere and Jersey complement each other, with the goal of making it easier to build Comet-based Web applications that include a mix of Comet and RESTful behavior.

原创粉丝点击