Jump to: navigation, search

Difference between revisions of "Jetty/Starting/Porting to Jetty 7"

(add quick blurbs and links for startup options, continuations)
Line 19: Line 19:
  
 
=== Startup Options ===
 
=== Startup Options ===
 +
 +
The Jetty startup options have been streamlined, and differ in some respects from their re
 +
 +
The more commonly used system properties, such as <tt>jetty.port</tt> and <tt>jetty.home</tt> still work as before:
 +
java -Djetty.port=8081 -jar start.jar etc/jetty.xml
 +
 +
The OPTIONS switch, which lets you choose specific modes for running Jetty has been subtly changed and is no longer a system property. Instead of <tt>java -DOPTIONS=default,jsp,... -jar start.jar</tt>, now do:
 +
  java -jar start.jar OPTIONS=default,jsp... etc/jetty.xml
 +
 +
To turn on debugging on the fly, use this command:
 +
  java -jar start.jar DEBUG=true etc/jetty.xml
 +
 +
See [[Jetty/Howto/Run Jetty|How to Run Jetty]] for all the startup options that are available for Jetty 7.
  
 
=== Continuations ===
 
=== Continuations ===
Jetty 7 introduces portable continuations, which allow...
+
Jetty 7 introduces portable continuations, extending the Continuations API from Jetty 6 to become a general-purpose API that will work asynchronously on any servlet-3.0 container (such as Jetty 7, or 8). With the aid of the ContinuationFilter, servlet 2.5 containers such as Jetty 6 can also use the jetty-7-style portable continuations. Continuations should be considered an application abstraction and portability layer on top of the implementation detail of asynchronous servlets.
 +
 
 +
For a comprehensive look of continuations, see the [[Jetty/Feature/Continuations|Continuations Feature Guide]].
  
| others =
 
 
== Jetty 7 Source Locations ==  
 
== Jetty 7 Source Locations ==  
  

Revision as of 06:13, 3 July 2009

Template:Jetty Porting