A chat sample using Spring MVC 3.2, Servlet-based, async request processing.
To start the sample run mvn tomcat7:run
and then access it at http://localhost:8080/spring-mvc-chat.
Eclipse users run mvn eclipse:eclipse
and then import the project. Or just import the code as a Maven project into IntelliJ, NetBeans, or Eclipse.
Also see the redis branch for a distributed chat with persistence and pub-sub notifications via Redis instance.