Web applications have a defined folder structure. A web application is usually packaged and deployed as a web archive (WAR) file, although a web application does not always have to be packaged in order to be deployed.
A web application must contain a deployment descriptor file (WEB-INF/web.xml). A web application can contain one or more web components.