Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Failed to load latest commit information.
project added latest changes
src/main Fixed a NPE on UrlParam.scala
README added readme
json1.txt Working example
json2.txt Working example
lift_proto.db.h2.db Working example
lift_proto.db.trace.db Working example


This is a sample Lift application that shows one way to use Comet Actors to update 
the UI only when there is new information coming through a REST interface.

It uses named actors, actor dispatchers and the REST support that comes with Lift

To use it do:

git clone git://
cd comet_rest_example

Go with the browser to:

On another terminal screen do:

cd comet_rest_example

while true;
  do curl  -H"Content-Type: application/json"  -T json1.txt ;
  sleep 1;
  curl  -H"Content-Type: application/json"  -T json2.txt ;
  sleep 1;
  curl  -H"Content-Type: application/json"  -T json3.txt ;
  sleep 1 ;
  curl  -H"Content-Type: application/json"  -T json4.txt ;

And go to the browser and notice how just two cells change values.

Enjoy and feel free to send feedback on:
* The lift mailing list <>
* (I use gmail so don't bother sending spam :) )
* on my blog at

Something went wrong with that request. Please try again.