A good basis for spring framework projects running on top of tomcat. Uses simple configuration to highlight many of the features one would expect from a Java Application Server.
Based on the Heroku example for Spring MVC Tomcat Hibernate this example includes test code and an extra use case.
Test project for embedding Tomcat7 in a Spring MVC app with Java config