You don’t need to install Tomcat, JBoss or any other web server in order to run a Java web application (.war file)!
If your project is configured with a Maven
pom.xml and the module has
<packaging>war</packaging>, you can just add this little piece of XML inside the pom’s
Then, when you run…
…winstone-maven-plugin will automatically create a
*-standalone.jar file for you, which contains your web application.
You can run that .jar file as a standalone application, which runs your included web application on port 8080 by default: