Posts tagged ‘Atmosphere’
POJO Comet Framework Atmosphere 0.3 Released
Grizzly の開発者の1人である Jean Francois は
Atmosphere 0.3 のリリースを発表しました。
Atmosphere は POJO ベースで Comet (Reverse Ajax) を
実装することのできるフレームワークなのですが、
今回のリリースではクラスター化されたシステムでも
利用できるようになったようです。
その他、RESTful,Scala 等への対応という事で、
以前のバージョンに比べて大幅に機能拡張がされているようです。
Atomosphere のフレームワークは Tomcat, Jetty, JBoss, WebLogic
WebSphere 等の環境でも動作させる事が可能ですので、Comet の
アプリケーションを実装されたい方は是非試してください。
Atmosphere 0.3 から追加された新機能
* Full REST based application using Atmosphere core module
* Scala support: Use Scala to write powerful asynchronous web application
* Bayeux Protocol: You like the Comed/Bayeux Protocol? Run it on of Atmosphere.
* Cluster supported: decide between Shoal or JGroups
* Annotations Injection: You can now write your own annotation and inject it as needed
* Use Atmosphere as a Filter instead of a Servlet
* Customize Broadcaster Scope and re-write Twitter.com
* Use Filters like Google Guice
* Run on Glassfish, Tomcat, Jetty, JBoss, WebLogic, WebSphere using Servlet 3.0 or native Comet implementation
* Execute synchronous broadcast or asynchronous broadcast using BroadcasterFuture
* Filter and transform broadcasted message using BroadcasterFilter
* Work with the new Grails Atmosphere plug-in
* Play tic-tac-toe using Atmosphere
Atmosphere 0.1 GA リリース
Grizzly プロジェクトより派生した Atmosphere プロジェクトの
初めての成果物 (0.1 GA) がリリースされました。
Atmosphere プロジェクトでは汎用的に使える Comet フレームワークとして
AtmosphereHandler インタフェースを実装して簡単に Comet アプリケーションを
作成することができるようになります。
チャットの実装例
今までは Comet のアプリケーションを作成する場合、サーバ側の実装は
各 Web コンテナの Comet Engine の実装に応じてばらばらに実装しなければ
なりませんでしたが、このフレームワークを利用することで、一度実装した
Comet のサーバ側の実装を様々な Web コンテナ上で動作させることができるようになります。
サポートされる Web コンテナ:
Tomcat,Jetty, GlassFish,Weblogic, Jersey,Grizzly
チャットアプリケーションの実装例:
Getting started with Atmosphere CPR part 1: Writing the HelloWord of Comet….a Chat application
Comet のアプリケーションに興味のある方は是非このフレームワークをお試しください。
ちょっと春らしく: