The Java EE Tutorial includes a "Hello" application used to demonstrate autodeploy features. How to Deploy Your WAR File
The official Apache Tomcat documentation provides a standard sample.war that you can use to verify your installation. hello world war file download
Developers often share minimalist WAR files on GitHub for quick testing. Notable examples include: The Java EE Tutorial includes a "Hello" application