In this example , we have demonstrated how to use Comet Actor in real environment using Liftweb and Scala .