Before you start
This tutorial is for developers interested in writing Comet-style Web applications. A basic knowledge of Web applications and Ajax interactions is useful. Lift is written in the Scala programming language, which runs on top of the Java™ Virtual Machine. Prior knowledge of Scala is not necessary, but experience with Java is certainly useful. You will see some sophisticated Scala in this article, so familiarity with a functional programming language like Haskell, OCaml, or Lisp helps as well. You will also use the jQuery JavaScript library. None of the JavaScript is that advanced, so familiarity with basic JavaScript is sufficient.
Alex Russell first coined the term Comet in a blog entry back in 2006. He defined Comet as event-driven, where the server has an open line of communication to push data to the client (see Resources to read the blog entry).
In this tutorial, you will develop a Comet-style Web application called Auction Net using Scala, Lift, and jQuery. You start by going over the design of the application that you will be building in this tutorial. After you know what you want to build, you will break it down into various parts and learn how you can leverage the features of Lift to implement these features.
To develop with Lift and run the sample code, you will need the following tools:
- Java Development Kit (JDK). JDK 1.5.0_16 was used to develop the application.
- Apache Maven. Maven 2.0.9 was used to develop this application.
- Get the latest source code for Lift from the Google Code site.


