The windward servlet is a good demo of a real world servlet application. There is a demo page on the site, as well as full sample code. The code sample page also helps you learn how to install Tomcat server, so this is a great page for all you greenhorns.
the demo is of an app that generates different stock reports depending on which xml file you want to use. It is a very simple web form, but it covers a lot of the basics that you would need to do for a more full featured app. The demo page is servlet demo.
The sample code page is quite extensive, and as I mentioned before, it includes how to setup a Tomcat server as well as the complete code for the servlet demo. The sample code is located at servlet sample code
The example uses windward reports, which you can get a free copy of if you are a student. we created the Windward Report Engine because ompanies need a powerful, secure enterprise-level Java/J2EE reporting engine to back their critical reporting and document generation systems.
The Windward Engine installs easily, runs on one or more servers as part of your server-based application, and can easily produce hundreds of thousands of reports per day on a single server. The server is a pure Java product (and also is available as pure .NET).
Even better news for you guys: When combined with the Windward report design tools AutoTag and AutoTag Max, users design, schedule and run reports from within Microsoft Office. That means you can turn over reporting to the business group and get back to more interesting work.