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

From Eclipsepedia

< Jetty‎ | Howto
Jump to: navigation, search
m
m
Line 8: Line 8:
 
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.  The actual methods of configuration include:
 
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.  The actual methods of configuration include:
  
* Calling the API from a java program (see the [[Jetty/Tutorial/Embedding_Jetty|Embedding Jetty Tutorial]]).
+
* Calling the Jetty API from a java program (see the [[Jetty/Tutorial/Embedding_Jetty|Embedding Jetty Tutorial]]).
 
* Calling the API from XML, either using
 
* Calling the API from XML, either using
** Jetty XML (see [[Jetty/Reference/jetty.xml_syntax|XML syntax reference], [[Jetty/Reference/jetty.xml|jetty.xml reference]])
+
** Jetty XML (see [[Jetty/Reference/jetty.xml_syntax|XML syntax reference]], [[Jetty/Reference/jetty.xml|jetty.xml reference]])
 
** Spring XML (see the [[Jetty/Tutorial/Embedding_Jetty#File_Server_with_spring|File Server with spring example]])
 
** Spring XML (see the [[Jetty/Tutorial/Embedding_Jetty#File_Server_with_spring|File Server with spring example]])
 
* Using servlet standard [[Jetty/Howto/WebXmlDescriptors|web.xml]] descriptors.
 
* Using servlet standard [[Jetty/Howto/WebXmlDescriptors|web.xml]] descriptors.
Line 16: Line 16:
  
 
For more configuration detail, see the [[Jetty/Reference#Configuration|Jetty Configuration Reference]] pages.
 
For more configuration detail, see the [[Jetty/Reference#Configuration|Jetty Configuration Reference]] pages.
 +
|steps=
 
}}
 
}}

Revision as of 23:56, 7 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. The actual methods of configuration include:

For more configuration detail, see the Jetty Configuration Reference pages.