Jetty

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索

2010年9月16日 (四) 04:38的版本

Jetty-90x90.png
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Jetty Thanks, Wikipedia.

Jetty is an open-source, standards-based, full-featured web server implemented entirely in java.

http://jetty.mortbay.org/jetty/index.html

java -jar start.jar 
java -jar start.jar etc/jetty.xml
java -jar stop.jar

http://localhost:8080

Jetty Web Applications

目录

Jetty 6

java -jar start.jar etc/jetty.xml

http://localhost:8080/test/
http://localhost:8080/javadoc/

java -jar start.jar etc/jetty.xml etc/jetty-jaas.xml

http://localhost:8080/test-jaas/

配置好 JNDI 后, 然后执行 java -jar start.jar etc/jetty.xml etc/jetty-plus.xml etc/jetty-test-jndi.xml

http://localhost:8080/test-jndi

Features

  • Codebase completely rearchitected and slimlined
  • Continuations API for efficient AJAX polling
  • Improved dependency injection and inversion of control design of components
  • Improved interceptor design of handlers
  • Smart split buffer design for efficient asynchronous flushing and avoiding chunking.
  • Optional use of NIO Buffering so that efficient direct buffers and memory mapped files can be used.
  • Optional use of NIO non-blocking scheduling so that threads are not allocated per connection.
  • Optional use of NIO gather writes, so that for example a HTTP header and a memory mapped file may be sent as a single operation.

Documents

Jetty Powered

Jetty 467x60.gif

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱