The collab demo's backend is node.js. You could get collaboration to work by just relaying JSON between clients, but if you want to do intelligent things with the data (keep a snapshot of the current document, for example), you'll need an implementation of the document model, which exist only in JS and would be a bunch of work to port.