Chapter 2. Using Jetty Introduction
Table of Contents
Downloading Jetty
Running Jetty
Deploying WEB Applications
Finding Jetty in Maven
You can use Jetty in many different ways, ranging from embedding Jetty in applications, launching it from different build Systems, from different jvm-based languages, or as a standalone distribution. This guide covers the latter, a standalone distribution suitable for deploying Web applications.
Downloading Jetty
Downloading the Jetty distribution
Distribution Content
Downloading the Jetty distribution
The standalone Jetty distribution is available for download from the Eclipse Foundation:
Jetty Http://download.eclipse.org/jetty
It is available in both zip and gzip formats; Download the one most appropriate for your system. Notice that there is a number of other files with extensions of. Sha or. MD5 which is checksum files. When you download and unpack the binary, it's extracted into a directory called Jetty-distribution-version. Put this directory with a convenient location. The rest of the instructions in this documentation refer to this location as either Jetty_home or as $ (jetty.home).
Distribution Content
A Quick rundown of the distribution ' s contents follows. The top-level directory contains:
Table 2.1. Contents
Chapter II, Introduction to the use of jetty
Table of Contents:
Download jetty
Run jetty
Deploying Web Apps
Find Jetty in Maven
You can use jetty in many different ways, embed jetty from your application, launch it on different systems, and start it independently from a different language-based virtual machine. This guide describes situations where an application is deployed independently.
Download Jetty Kit
Kit content
Download Jetty Kit
The standalone jetty kit is available for download at the Eclipse Foundation.
Jetty:http://download.eclipse.org/jetty
A suite of zip and gzip Two formats is available to download a format that best suits your system. (Zip is a compressed format under Windows and gzip is under Linux.) We noted that there are other format files,. sha and. MD5, which are checksum files. When you download and unzip the binary, the content file is extracted to the Jetty-distribution-version folder, where you want it to be placed, and the remaining files are called Jetty_home.
Contents of the kit
The contents of the quickly allocated package are as follows: The top-level directory contains the following: