Writing a Twitter like application using Grizzly Comet part 1: The Servlet