跳转到内容

Jetty:修订间差异

维基百科,自由的百科全书
删除的内容 添加的内容
建立内容为“{{subst:Translating/auto|tfrom=en:Jetty (web server)|tpercent=0}} {{Infobox software | name = Jetty | logo...”的新页面
(没有差异)

2014年7月11日 (五) 11:31的版本

Jetty
開發者Eclipse Foundation
当前版本
  • 12.0.10 (2024年6月3日;穩定版本)[1]
編輯維基數據鏈接
源代码库 編輯維基數據鏈接
编程语言Java
操作系统Cross-platform (JVM)
类型Web server Servlet
许可协议Apache License 2.0, Eclipse Public License 1.0
网站eclipse.org/jetty

Jetty is a pure Java-based HTTP (Web) server and Java Servlet container. While Web Servers are usually associated with serving documents to humans, Jetty is now often used for machine to machine communications, usually within larger software frameworks. Jetty is developed as a free and open source project as part of the Eclipse Foundation. The web server is used in products such as Apache ActiveMQ,[3] Alfresco,[4] Apache Geronimo,[5] Apache Maven, Apache Spark, Google App Engine,[6] Eclipse,[7] FUSE,[8] Twitter's Streaming API[9] and Zimbra.[10] Jetty is also the server in open source projects such as Lift, Eucalyptus, Red5, Hadoop and I2P.[11] Jetty supports the latest Java Servlet API (with JSP support) as well as protocols SPDY and WebSocket.

Overview

Developed as an independent open source project, in 2009 Jetty moved to Eclipse.[12][13] Jetty provides Web services in an embedded Java application and it is already a component of the Eclipse IDE. It supports AJP, JASPI, JMX, JNDI, OSGi, WebSocket and other Java technologies.[6]

Use in Hadoop

Apache Hadoop is an example of how Jetty is used in a framework. Hadoop uses Jetty as a web server for different uses in several modules:

  • The NameNode and the JobTracker use Jetty to serve their admin pages.[14]
  • The TaskTracker uses Jetty to receive the map, reduce and shuffle operations from the JobTracker.[14]

In Hadoop 0.23, Jetty has been replaced by Netty in the TaskTracker for shuffle operations.[15]

History

Originally developed in the Sydney suburb of Balmain by software engineer Greg Wilkins, Jetty was originally a HTTP server component of Mort Bay Server; Mort Bay being an area of Balmain.[16]

Jetty was originally called IssueTracker (its original application) and then MBServler (Mort Bay SERVLet servER). Neither of these were much liked, so Jetty was finally picked.[16]

Jetty was started in 1995 and was hosted by MortBay, creating version 1.x and 2.x, until 2000. From 2000 to 2005, Jetty was hosted by sourceforge.net where version 3.x, 4.x, and 5.x were produced. In 2005, the entire Jetty project moved to codehaus.org.[17] As of 2009, the core components of Jetty have been moved to Eclipse.org, and Codehaus.org continues to provide integrations, extensions, and packaging of Jetty versions 7.x and 8.x (not 9.x)[18][19]

Version Home Java Version Protocols Servlet Version JSP Version Status
9.1.x Eclipse[19] 1.7 HTTP/1.1 RFC2616, WebSocket JSR356, SPDY 3.1 2.3 Stable since 2013-11-18[20]
9.0.x Eclipse[19] 1.7 HTTP/1.1 RFC2616, WebSocket, SPDY 3.0 (tracking 3.1 drafts) 2.2 Stable since 2013-03-08[21]
8.x Eclipse,[19] Codehaus[18] 1.6 HTTP/1.1 RFC2616, WebSocket, SPDY 3.0 2.1 Stable
7.x Eclipse,[19] Codehaus[18] 1.5, J2ME HTTP/1.1 RFC2616, WebSocket, SPDY 2.5 2.1 Stable
6.x Codehaus[18] 1.4–1.5 HTTP/1.1 RFC2616 2.5 2.0 Deprecated[22]
5.x Sourceforge 1.2–1.5 HTTP/1.1 RFC2616 2.4 2.0 Deprecated
4.x Sourceforge 1.2, J2ME HTTP/1.1 RFC2616 2.3 1.2 Ancient
3.x Sourceforge 1.2 HTTP/1.1 RFC2068 2.2 1.1 Fossilized
2.x Mortbay 1.1 HTTP/1.0 RFC1945 2.1 1.0 Legendary
1.x Mortbay 1.0 HTTP/1.0 RFC1945 Mythical

See also

References

  1. ^ Release 12.0.10. 2024年6月3日 [2024年6月22日]. 
  2. ^ McConnell, Jesse. [jetty-announce] Jetty 9.1.5.v20140505 Released!. Jetty mailing list. 5 May 2014 [13 May 2014]. 
  3. ^ ActiveMQ with Ajax and Jetty. Jetty Wike (Codehaus). [2011-04-12]. 
  4. ^ JM.Pascal. Maven + Alfresco : Jetty, Boostrap and Profil. Going to an OpenSource ECM World.... April 2010 [2011-04-12]. 
  5. ^ Configuring Virtual Hosts in Geronimo-Jetty. Apache Geronimo Documentation. [2011-04-12]. 
  6. ^ 6.0 6.1 Wickesser, Craig. Google Chose Jetty for App Engine. InfoQ. C4Media Inc. 5 August 2009 [12 Apr 2011]. 
  7. ^ jetty://. Eclipse. [12 Apr 2011]. 
  8. ^ class JettyHttpComponent. FuseSource. Red Hat. [12 Apr 2011]. [失效連結]
  9. ^ Twitter Streaming API and Apache Wink. [19 May 2011]. 
  10. ^ Zhuang, JJ. Zimbra Blog: Why we switched to Jetty. Zimbra. VMware. 18 December 2007 [12 Apr 2011]. 
  11. ^ Powered by Jetty. [24 Sep 2012]. 
  12. ^ Lieber, Adam. Jetty: The Twelve Year Journey to Market Maturity. Linux Gazette. December 2008 [28 June 2013]. 
  13. ^ About Jetty. Codehaus. [30 November 2011]. 
  14. ^ 14.0 14.1 Stack and Laffoon, Mark. HBase, mail # user - servlet container (embedded jetty). July 23, [11 October 2013]. 
  15. ^ Murthy, Arun. Apache Hadoop 0.23. Hortonworks. August 25, 2011 [11 October 2013]. 
  16. ^ 16.0 16.1 http://wiki.eclipse.org/Jetty/FAQ#Why_is_it_called_Jetty.3F
  17. ^ http://sourceforge.net/mailarchive/forum.php?thread_name=4386295B.9020103%40mortbay.com&forum_name=jetty-discuss
  18. ^ 18.0 18.1 18.2 18.3 About Jetty, Located on Codehaus.
  19. ^ 19.0 19.1 19.2 19.3 19.4 About Jetty, Located on Eclipse.
  20. ^ http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00060.html
  21. ^ http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00043.html
  22. ^ http://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00026.html

External links

Template:Eclipse Foundation