Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery

Chapter 2. Quick Start Jetty

Table of Contents

Download Jetty
Running Jetty
Deploying Web Applications

Jetty can be used in many different ways ranging from being embedded in applications, launched from different build systems, from different jvm based languages, or as a standalone distribution. This documentation covers the latter, a standalone distribution suitable for deploying web applications.

Download Jetty

Downloading Jetty Distribution

The standalone Jetty distribution is available for download from the Eclipse Foundation:

It is available in both zip and gzip formats, download the one most appropriate for your system. You may note that there are a number of other files with extensions of .sha, or .md5 which are checksum files. When you download and unpack the binary, it is extracted into a directory called jetty-distribution-VERSION. Put this directory into a convenient location. The rest of the instructions in this wiki will refer to this location as either JETTY_HOME or as $(jetty.home).

Distribution Content

This is a quick rundown of the distribution's contents. The top-level directory contains:

Table 2.1. Contents

LocationDescription
license-eplv10-aslv20.htmllicense file for Jetty
README.txtcontains useful getting started information
VERSION.txtRelease Information
binutility shell scripts to help run Jetty on unix systems
etcdirectory for Jetty configuration files
libcontains all the JAR files necessary to run jetty
logsdirectory for request logs
notice.htmllicense information an exceptions
resourcesdirectory containing additional resources for classpath, activated via configuration
start.iniconfiguration file for starting jetty
start.jarjar which invokes jetty (see also How to Run Jetty)
webappsdirectory containing webapps which will be run under the default configuration of Jetty; contains demo webapps

See an error or something missing?
Contribute to this documentation at Github!