Difference between revisions of "Jetty/Feature/Hot Deployment"

From Eclipsepedia

< Jetty‎ | Feature
Jump to: navigation, search
m
Line 1: Line 1:
 
{{Jetty Feature
 
{{Jetty Feature
 
| introduction =
 
| introduction =
Jetty provides capability to deploy an arbitrary context or web application by monitoring a configuration directory for changes to the deployment descriptors. If a descriptor is added to the directory, a new context will be deployed. If a descriptor is touched/updated then it's context will be stopped, reconfigured and redeployed. If a descriptor is removed, then it's context will be stopped and removed from the server. This capability is implemented via [[Jetty/Feature/ContextDeployer|Context Deployer]] mechanism.  
+
Jetty provides capability to deploy an arbitrary context or web application by monitoring a directory for changes. If a web application or a context descriptor is added to the directory, a new context will be deployed. If a context descriptor is touched/updated then it's context will be stopped, reconfigured and redeployed. If a context descriptor is removed, then it's context will be stopped and removed from the server.
  
 
| body =
 
| body =
The [[Jetty/Feature/ContextDeployer|Context Deployer]] may be used to (hot)deploy an arbitrary Context or Web Application with Jetty specific configuration. The deployment descriptors are in [[Jetty/Reference/jetty.xml syntax|jetty xml]] format and define and configure individual contexts. If the scan interval is non-zero, the configuration directory is scanned at that interval (in seconds) for changes to the deployment descriptors.
 
If the scan interval is zero, then the directory is only scanned at startup.
 
  
To statically deploy only standard web applications at startup, use the [[Jetty/Feature/WebAppDeployer|WebApp Deployer]].
+
The documentation for Deployment Manager, WebAppProvider, and ContextProvider is forthcoming.
  
| category = [[Category:Jetty Feature]]
+
| more =
 +
Previously, this feature has been implemented via ContextDeployer. Context Deployer information is still available [[Jetty/Feature/ContextDeployer|here]]. WebApp Deployer information is still available [[Jetty/Feature/WebAppDeployer|here]].
 
}}
 
}}

Revision as of 14:11, 28 June 2010



Introduction

Jetty provides capability to deploy an arbitrary context or web application by monitoring a directory for changes. If a web application or a context descriptor is added to the directory, a new context will be deployed. If a context descriptor is touched/updated then it's context will be stopped, reconfigured and redeployed. If a context descriptor is removed, then it's context will be stopped and removed from the server.

Feature

The documentation for Deployment Manager, WebAppProvider, and ContextProvider is forthcoming.

Additional Resources

Previously, this feature has been implemented via ContextDeployer. Context Deployer information is still available here. WebApp Deployer information is still available here.