title: Recommendation for lightweight embeddable Java web framework with Comet support?
body: <p>I'm working on an open source anonymous decentralized P2P application that will support Twitter-like functionality, you can read more <a href="https://github.com/sanity/tahrir/wiki" rel="nofollow">here</a>.</p>
  
  <p>My intention is that the UI will emulate the Twitter UI quite closely, and be accessible through a web-browser communicating with the local app.</p>
  
  <p>I'm therefore looking for a lightweight embeddable web app framework that supports comet (ie. server-initiated modifications to the DOM).  It must be lightweight because I need to keep the size of the eventual application as small as possible.</p>
  
  <p>My intention is that most of the UI work will be handled within the web browser, making use of JQuery, and perhaps using Coffeescript instead of Javascript (although I haven't yet made a full decision on this).</p>
  
  <p>Can anyone recommend (GPL compatible) tools/libraries/frameworks for me to look at?</p>