O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Web Applications

In this section, Web applications will be described in more detail—what happens when one is created and what is happening behind the scenes when you use the J2EE RI.

Web Application Files and Directory Structure

Web applications are run on a Web server. A Web application is simply a set of static HTML pages, servlets, support classes, applets, JavaBeans, and any other resource that bundled together form a complete application. The J2EE RI packages Web applications for you and stores them in a Web Archive Format (WAR) file so they can be easily distributed to other Web servers.

The Java Servlets specification defines a structured hierarchy of directories that are used for deployment and packaging purposes. Using the J2EE RI

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required