2.5. Testing within a Servlet Container

While unit tests are important, it is equally important to test the application in its end environment, the servlet container. These types of tests are often referred to as Integration Tests and are usually a manual process, whereas the Unit tests can be automated. Possible problems may include class loading issues, database connection pooling and management and file permissions.

2.5.1. Testing inside Apache Tomcat

Tomcat is a great open source servlet container and is ideal for testing and development. Tomcat also comes bundled with some IDEs to make testing development.