OK. It was my duty to make sure this is not homework assignment. Anyway, my apologies.
Jetty is a web container like Tomcat. However, Jetty supports a unique feature called "continuation" that makes AJAX-based web applications a lot more scalable compared with conventional client polling-based solutions. This makes it ideal for implementing chat-like functionality where changes needed to be pushed actively by server to individual clients.
Actually I just found a test deployed Jetty from Google search that contains the sample.
http://64.164.6.244:9090/test/chat/chat.html
The actual sample code can be obtained from the Jetty6 download area. Jetty's site:
jetty - Jetty WebServer