2009-03-24 17:07:27 -04:00
|
|
|
|
2009-03-31 18:58:05 -04:00
|
|
|
JETTY
|
|
|
|
=====
|
2009-03-24 17:07:27 -04:00
|
|
|
|
2009-03-31 18:58:05 -04:00
|
|
|
The Jetty project is a 100% Java HTTP Server, HTTP Client
|
|
|
|
and Servlet Container.
|
|
|
|
|
|
|
|
|
|
|
|
The Jetty @ eclipse project is based on the Jetty project at codehaus
|
|
|
|
|
|
|
|
http://jetty.codehaus.org
|
|
|
|
|
|
|
|
Ongoing development is now under incubation at the eclipse foundation
|
|
|
|
|
|
|
|
http://www.eclipse.org/jetty/
|
|
|
|
|
|
|
|
|
|
|
|
Jetty @ eclipse is open source and is dual licensed using the apache 2.0 and
|
|
|
|
eclipse public license 1.0. You may choose either license when distributing
|
|
|
|
jetty.
|
2009-03-24 17:07:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BUILDING JETTY
|
|
|
|
==============
|
|
|
|
|
|
|
|
Jetty uses maven 2 as its build system. Maven will fetch
|
|
|
|
the dependancies, build the server and assemble a runnable
|
|
|
|
version:
|
|
|
|
|
|
|
|
mvn install
|
|
|
|
|
2009-05-15 20:43:45 -04:00
|
|
|
|
|
|
|
|
|
|
|
RUNNING JETTY
|
|
|
|
=============
|
|
|
|
|
|
|
|
The run directory is either the top-level of a binary release
|
|
|
|
or jetty-distribution/target/assembly-prep directory when built from
|
|
|
|
source.
|
|
|
|
|
|
|
|
To run with the default options:
|
|
|
|
|
|
|
|
java -jar start.jar
|
|
|
|
|
|
|
|
To run with specific configuration file(s)
|
|
|
|
|
|
|
|
java -jar start.jar etc/jetty.xml
|
|
|
|
|
|
|
|
To see the available options
|
|
|
|
|
|
|
|
java -jar start.jar --info
|
|
|
|
|
|
|
|
To run with JSP support
|
|
|
|
|
2009-05-25 21:44:57 -04:00
|
|
|
java -jar start.jar OPTIONS=Server,jsp
|
2009-05-15 20:43:45 -04:00
|
|
|
|
|
|
|
To run with JMX support
|
|
|
|
|
2009-05-25 21:44:57 -04:00
|
|
|
java -jar start.jar OPTIONS=Server,jmx etc/jetty-jmx.xml etc/jetty.xml
|
2009-05-15 20:43:45 -04:00
|
|
|
|
|
|
|
|