...
- Not use XML, as a SAX parser is not available. This means that you cannot directly use webapplications
with web.xml nor jetty.xml to configure the server. - Not use NIO connectors. Use the SocketConnector instead.
- Write a configuration class similar to the examples in the examples/embedded module.
- Configure your own class path to include
- servlet-api.jar
- jetty-util.jar
- jetty.jar
- your configuration class(es).
An example of running the OneHandler example with IBMs J9 is
| Code Block |
|---|
j9 -cp lib/servlet-api-2.5.jar:lib/jetty-util.jar:lib/jetty.jar:examples/embedded/target/classes org.mortbay.jetty.example.OneHandler
|