Getting started with the Atmosphere Framework part II: Writing a REST application with Comet support