Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

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 05: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).

Copyright © Eclipse Foundation, Inc. All Rights Reserved.