Prototype for restful app using COMETD.