Book Image

Tapestry 5: Building Web Applications

Book Image

Tapestry 5: Building Web Applications

Overview of this book

Table of Contents (17 chapters)
Tapestry 5
Credits
About the Author
About the Reviewers
Preface
Foreword
Where to Go Next

WAR Files Basics


The same Servlet Specification defines a very convenient way to package Java web applications—a Web Archive (WAR) file. This is basically the same as a JAR file, which is an archived collection of files, The difference is that the WAR file contains the whole web application's structure.

A WAR file can be distributed conveniently, and when it comes to deployment, this file can be simply uploaded to a servlet container, and the latter will either automatically unpack the contained web application or run it straight from the WAR file.