Deploy Web Application in Jetty Container in Embedded Mode

This tutorial is all about to deploy an web application in embedded Jetty web container. You do not need to deploy it manually into the web server.

Why do we need to deploy it in embedded mode ?

We sometimes need to deploy it in embedded mode, because during unit testing or integration testing we have to deploy the web application manually every time before we start the testing; so we want to deploy the application into embedded mode so that it starts up automatically and we perform unit testing or integration testing without taking care of deployment.Prerequsites