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.
Difference between revisions of "Jetty/Howto/Configure Jetty"
m |
|||
Line 6: | Line 6: | ||
* Web application (init parameters, non standard options, etc.) | * Web application (init parameters, non standard options, etc.) | ||
− | All Jetty configuration can be considered as calling setters on a collection of Plain Old Java Objects (POJOs), so that regardless of the actual method used, the [http://download.eclipse.org/jetty/stable-7/apidocs/ apidocs] are the ultimate resource for configuration. | + | All Jetty configuration can be considered as calling setters on a collection of Plain Old Java Objects (POJOs), so that regardless of the actual method used, the [http://download.eclipse.org/jetty/stable-7/apidocs/ apidocs] are the ultimate resource for configuration. |
− | + | Configuration can be achieved with: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | For more configuration | + | * [[Jetty/Tutorial/Embedding_Jetty|Embedded Jetty]]). |
+ | * [[Jetty/Reference/jetty.xml_syntax|Jetty XML]] used with [[Jetty/Reference/jetty.xml|jetty.xml]]) | ||
+ | * [[Jetty/Tutorial/Embedding_Jetty#File_Server_with_spring|Spring XML]]) | ||
+ | * [[Jetty/Howto/WebXmlDescriptors|web.xml]] descriptors. | ||
+ | * [[Jetty/Feature/Jetty_Maven_Plugin|Jetty maven plugin]] | ||
+ | |||
+ | For more configuration references, see the [[Jetty/Reference#Configuration|Jetty Configuration Reference]] pages. | ||
|steps= | |steps= | ||
}} | }} |
Revision as of 00:06, 8 February 2010
Introduction
Jetty configuration is a combination of
- HTTP server configuration (ports, thread pools, buffers, etc.)
- Web container configuration (webapps deployment, security realms, JNDI etc.)
- Web application (init parameters, non standard options, etc.)
All Jetty configuration can be considered as calling setters on a collection of Plain Old Java Objects (POJOs), so that regardless of the actual method used, the apidocs are the ultimate resource for configuration.
Configuration can be achieved with:
- Embedded Jetty).
- Jetty XML used with jetty.xml)
- Spring XML)
- web.xml descriptors.
- Jetty maven plugin
For more configuration references, see the Jetty Configuration Reference pages.