Jetty
Welcome to the Jetty Documentation Wiki. Jetty is an open-source project providing an HTTP server, HTTP client, and javax.servlet container. This Jetty Wiki provides information about getting started with Jetty, basic configuration, specific features, optimization, security, JavaEE, monitoring, FAQs, help with troubleshooting, and more. It includes tutorials, howtos, videos, feature descriptions, and reference materials.
The documentation on this wiki applied to the older Jetty 7 and Jetty 8 releases. For Jetty 9 we have migrated and updated the content into a format easier to present. For Jetty 9 documentation please check out the Jetty 9 Documentation.
Contents
- 1 Jetty Documentation
- 1.1 Getting Started: Download, Install, Run
- 1.2 Configuring Jetty
- 1.3 Optimizing Jetty
- 1.4 Deploying Applications within Jetty
- 1.5 Developing with Jetty
- 1.6 Build/IDE Integration
- 1.7 Configuring Ajax, Comet and Asynchronous Servlets
- 1.8 Using Servlets and Filters
- 1.9 Security Topics
- 1.10 General Reference
- 1.11 Contributing to Jetty
- 1.12 Client
- 1.13 Logging/Monitoring
- 1.14 Troubleshooting
- 1.15 Upgrading Jetty
- 1.16 Application Server Integrations
- 1.17 Clustering Technologies
- 1.18 Features Reference
- 1.19 IoC and DI Frameworks
- 1.20 OSGi
- 1.21 Web Frameworks
- 1.22 Other
- 1.23 FAQ
Jetty Documentation
Look for this box on documentation pages for links to up to date information!
Also see the Jetty homepage!
Getting Started: Download, Install, Run
Getting Started with Jetty (video)
Download and Install Jetty
How to Run Jetty
- How to Run Jetty with JConsole
- How to Run Jetty from a single jar
- How to Run Jetty from Maven
- How to Run Jetty from Ant
- How to Embed Jetty
Jetty HelloWorld Tutorial
Jetty and Maven HelloWorld Tutorial
Getting Starting with Jetty (6) (on www.itjungle.com)
Jetty Start.jar
Configuring Jetty
Configuring Jetty – Master Doc
Configuring...
- A Context Path
- Connectors
- Custom Error Pages
- Form Size
- JMX
- JNDI
- Annotations
- JSP
- Port 80 Access as a Non-Root User
- Jetty Request Logs
- Session IDs
- Persisting Sessions
- SSL
- Jetty Statistics
- Jetty Statistics Tutorial
- Virtual Hosts
- A Web App to Respond on a Specific Port
- Memory Leak Prevention
- Serving symbolically linked files
Embedding Jetty
Embedding Jetty
Jetty Embedded HelloWorld
Embedding Jetty (video)
Understanding Which JARS to Use
Optimizing Jetty
Configuring Garbage Collection
Configuring for High Load
Deploying Applications within Jetty
Using the Deployment Manager
Setting Deployment Bindings
Using Hot Deployment
Using the Context Provider
Deploying Web Applications
Using the WebApp Provider
Using the Overlay Deployer
Deploying Third Party Products
Expanded Webapp Deploy
Developing with Jetty
How to Develop with Jetty
Writing Jetty Handlers
Build/IDE Integration
- Jetty Maven Plugin
- Jetty Jspc Maven Plugin
- Maven Web App Project Archetypes
Using IDEs
Using Jetty with Eclipse
Using Jetty with IntelliJ
Working with Eclipse
Developing Jetty in Eclipse
Using the Jetty WTP Plugin
Installing the Jetty WTP Plugin
Using the WTP Plugin with an External WebApp
Modifying the Context Path with the WTP Plugin
JettyOSGi SDK for Eclipse-PDE
EclipseRT Jetty StarterKit SDK
Configuring Ajax, Comet and Asynchronous Servlets
Continuations and Asynchronous Servlets
100 Continue and 102 Processing
WebSocket Servlet
Using WebSockets
Using the WebSocket Wizard
Asynchronous REST
Stress Testing CometD
Using SPDY
Configuring NPN
How to Use SPDY with Jetty (by Jos Dirksen at Smartjava.org)
Using Servlets and Filters
Servlets Bundled with Jetty
Quality of Service Filter
Cross Origin Filter
Security Topics
Jetty Security Reports
Security Realms
Configuring Security Realms
Java Authentication and Authorization Service (JAAS)
Configuring JAAS
JASPI
Secure Mode
Securing Passwords in Files or Code
How to enable and Disable SSL Cipher Suites in Jetty
How to Secure Stored Passwords in Jetty
How to Secure Termination of Jetty
How to Configure Spnego
General Reference
Jetty Architecture
Jetty Classloading
Jetty JARS and Dependencies
Start Options
Temporary Directories
Jetty and JEE6 Web Profile
Configuration Reference
jetty.xml Syntax–Jetty IOC Configuration
jetty.xml Usage–Using and Combining Jetty Configurations
Configuration Files
jetty.xml–Server configuration
jetty-web.xml–Web App configuration
jetty-env.xml–JNDI configuration
webdefault.xml–Pre-web.xml configuration
override-web.xml–Post-web.xml configuration
Javadoc and Source
Jetty 7 Latest JavaDoc
Jetty 7 Latest Source XRef
Jetty 8 Latest JavaDoc
Jetty 8 Latest Source XRef
Index of Generated Release Documents–API and XRef documentation for previous releases.
Contributing to Jetty
Contributing to Jetty – Master Doc
Jetty Coding Standards
Building Jetty
Release Testing Check List
Releasing Jetty
Contributing Patches
Client
Logging/Monitoring
Jetty Logging
Jetty Request Logs
Java-monitor
Sifting Logs with Logback and SLF4J
Troubleshooting
Troubleshooting: Big Problems, Logs and Warnings
Using the Jetty Dump Feature
Dealing with Locked Windows Files
Zip Exceptions Reading Jar or WAR Files
Memory Leaks
Webtide Blog–Jetty developers responding to user dilemmas and announcing new features
Upgrading Jetty
Porting to Jetty 6 from earlier versions of Jetty
Porting to Jetty 7
Porting to Jetty 7/Packages and Classes
Porting to Jetty 8
Porting from Tomcat
Jetty Version Comparison Table
Application Server Integrations
Apache Geronimo JEE
Using Jetty with Apache httpd
How to use Jetty with Apache, AJP, mod_jk, mod_proxy_balancer
Configuring Apache mod_proxy with Jetty
Using Jetty with AJP13
Configuring Jetty in JBoss
Remote Glassfish EJBs from Jetty
Jetty and Spring EJB3 (Pitchfork)
JBoss EJB3
ObjectWeb EasyBeans (aka JOnAS EJB3Container)
Clustering Technologies
JBoss Infinispan (from Redhat)
Gigaspaces
Terracotta
WADI
Session Clustering Using a Database
Session Clustering with Terracota
Session Clustering with MongoDB
Features Reference
SSL Connectors Reference
QoSFilter Reference
DoSFilter Reference
IoC and DI Frameworks
Jetty XML IOC
How to Configure Jetty with Spring
How to Configure Jetty with XBean
OSGi
Jetty on OSGi, RFC66
Jetty OSGi Powered Products
OSGi Tips
Jetty as the HTTP Service in Equinox
Jetty as the HTTP Service in Felix
Jetty as the HTTP Srevice in PAX
ProSyst mBedded Server Equinox Edition
Jetty in Spring Dynamic Modules
Jetty in JOnAS5
Web Frameworks
DWR
MyFaces
JSF Reference Implementation
Jakarta Slide
GWT
Jetspeed2
ICEfaces
Other
Atomikos Transaction Manager
Java Open Transaction Manager (JOTM)
Bitronix Transaction Manager
ActiveMQ
Binding JAX-WS 2.x Endpoints to Jetty Contexts
JVM NIO Bug Handling
Rewrite Module