title: jQuery comet push, without comet server
body: <p>I want to do is <code>PUSH</code> through jQuery when my mongodb adds an entry. I saw a lot of jQuery plugins out there, but they do <code>LONG POLLING</code> not <code>PUSH</code>.</p>
  
  <p>I am very keen to know how this is happening <a href="http://demo.hiteshjoshi.com/codeigniter_chat" rel="nofollow">here</a> (if you will open two different windows and try to chat you will know)</p>
  
  <p>This guy wrote <a href="http://bit.ly/QeNEMK" rel="nofollow">this sample code</a>.</p>
  
  <p>He is using <code>prototype.js</code>, and I saw in backend code, there is nothing special. Just MySQL select statements, but whenever the MySQL database changes prototype comet object responses to that.</p>
  
  <p>Can we do something similar in jQuery? I belive this is not polling but <code>PUSH</code> through <code>prototype.js</code>.<br>
  Or is it like prototype is connected to socket? Sorry, I have not much idea about what sockets are, but what I really want to do is <code>PUSH</code> through jQuery when my mongodb adds an entry.</p>