concept Struts 2 application in category java

This is an excerpt from Manning's book Struts 2 in Action.
Before you deploy servlets, you must first package them according to the standards. The basic unit of servlet packaging is known as a web application. Though it sounds like a general term, a web application is a specific thing in servlet terminology. The Servlet Specification defines a web application as “a collection of servlets, HTML pages, classes, and other resources.” Typically, a web application will require several servlets to service its clients’ requests. A web application’s servlets and resources are packaged together in a specific directory structure and zipped up in an archive file with a .war extension. A WAR file is a specialized version of the Java JAR file. The letters stand for web application archive. When we discuss chapter 2’s HelloWorld application, we’ll see exactly how to lay out a Struts 2 application to these standards.
Now that we’ve finished the core chapters, we know how to build a basic Struts 2 application. We’ve even done so with our Struts 2 Portfolio. This chapter starts the part of the book dealing with how to finish the application with a variety of refinements that many developers consider best practices. The refinements that we introduce in this chapter are specifically related to integrating a Struts 2 application with a pair of popular third-party technologies, Spring and the Java Persistence API (JPA).