Jump to: navigation, search

Difference between revisions of "Jetty/Howto/Configure Jetty"

< Jetty‎ | Howto
Line 1: Line 1:
 
{{Jetty Howto
 
{{Jetty Howto
 
|introduction=
 
|introduction=
introduction
+
Jetty configuration is a combination of configuration of the HTTP server, the web container and the web application.
|steps=
+
===Server Configuration===
+
  
===Connector Configuration===
+
Jetty itself is a collection of Plain Old Java Objects (POJOs) and can be configured in several ways:
 +
* Calling the API from a java program (see the [[Jetty/Tutorial/Embedding_Jetty|Embedding Jetty Tutorial]]).
 +
* Calling the API from jetty XML (see [[Jetty/Reference/jetty.xml_syntax|XML syntax reference]] and [[Jetty/Reference/jetty.xml|jetty.xml reference]]).
 +
* Assemble POJOs from Spring (see the [[Jetty/Tutorial/Embedding_Jetty#File_Server_with_spring|File Server with spring example]]).
 +
* Use the [[Jetty/Feature/Jetty_Maven_Plugin|jetty-maven-plugin]]
  
===Web Application Configuration===
+
Web applications (aka WARs, webapps and contexts) can be configured either with standard based web.xml, annotations or via calling the jetty API directly (as above).
|examples=
+
  
see examples in svn
+
|steps=
|more =
+
link to syntax reference
+
  
 
}}
 
}}

Revision as of 04:54, 18 September 2009



Introduction

Jetty configuration is a combination of configuration of the HTTP server, the web container and the web application.

Jetty itself is a collection of Plain Old Java Objects (POJOs) and can be configured in several ways:

Web applications (aka WARs, webapps and contexts) can be configured either with standard based web.xml, annotations or via calling the jetty API directly (as above).