A simple Servlet example that uses the singleton pattern and a synchronized statement.