Deploy a WAR that will be started when the container starts
Let's see how to use Jetty 4.x (in embedded mode) with a WAR to deploy in it.
Note: Unlike the other containers, the Jetty integration does not require the Jetty container to be installed. You simply need to add the Jetty jar (
org.mortbay.jetty.jar), the Servlet API jar (
servletapi.jar), and the Tomcat Jasper jars (
jasper-runtime.jar) to your classpath. Thus the
home property has not effect.