Comette is a project mainly written in JAVASCRIPT and JAVA, it's free.
Sample cometd app
=== Comette ===
Simple useless test project for educational goals workig with cometd library