Jetty (web server)

From Wikipedia, the free encyclopedia
  (Redirected from Jetty (Web server))
Jump to: navigation, search
Jetty logo.png
Developer(s) Eclipse Foundation
Stable release 9.2.10 / 10 March 2015; 3 months ago (2015-03-10)[1]
Written in Java
Operating system Cross-platform (JVM)
Type Web server Servlet
License Apache License 2.0, Eclipse Public License 1.0

Jetty is a Java HTTP (Web) server and Java Servlet container. While Web Servers are usually associated with serving documents to people, 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,[2] Alfresco,[3] Apache Geronimo,[4] Apache Maven, Apache Spark, Google App Engine,[5] Eclipse,[6] FUSE,[7] iDempiere,[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 HTTP/2 and WebSocket.


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.[5]

Use in Hadoop[edit]

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]


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 is 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 where version 3.x, 4.x, and 5.x were produced. In 2005, the entire Jetty project moved to[17] As of 2009, the core components of Jetty have been moved to, and 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.3.x Eclipse[19] 1.8 HTTP/1.1, HTTP/2, WebSocket JSR356, SPDY 3.1 2.3 Stable since 2015-02-25[20][21]
9.2.x Eclipse[19] 1.7 HTTP/1.1, WebSocket JSR356, SPDY 3.1 2.3 Stable since 2014-04-16[22]
9.1.x Eclipse[19] 1.7 HTTP/1.1, WebSocket JSR356, SPDY 3.1 2.3 Stable since 2013-11-18[23]
9.0.x Eclipse[19] 1.7 HTTP/1.1, WebSocket, SPDY 3.0 (tracking 3.1 drafts) 2.2 Stable since 2013-03-08[24]
8.x Eclipse,[19] Codehaus[18] 1.6 HTTP/1.1, WebSocket, SPDY 3.0 2.1 Stable
7.x Eclipse,[19] Codehaus[18] 1.5, J2ME HTTP/1.1, WebSocket, SPDY 2.5 2.1 Stable
6.x Codehaus[18] 1.4–1.5 HTTP/1.1 2.5 2.0 Deprecated[25]
5.x SourceForge 1.2–1.5 HTTP/1.1 2.4 2.0 Deprecated
4.x SourceForge 1.2, J2ME HTTP/1.1 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[edit]


  1. ^ Erdfelt, Joakim (17 March 2015). "[jetty-announce] Jetty 9.2.10.v20150310 Released!". Jetty mailing list. Retrieved 10 April 2015. 
  2. ^ "ActiveMQ with Ajax and Jetty". Jetty Wike (Codehaus). Retrieved 2011-04-12. 
  3. ^ JM.Pascal (April 2010). "Maven + Alfresco : Jetty, Boostrap and Profil". Going to an OpenSource ECM World.... Retrieved 2011-04-12. 
  4. ^ "Configuring Virtual Hosts in Geronimo-Jetty". Apache Geronimo Documentation. Retrieved 2011-04-12. 
  5. ^ a b Wickesser, Craig (5 August 2009). "Google Chose Jetty for App Engine". InfoQ. C4Media Inc. Retrieved 12 Apr 2011. 
  6. ^ "jetty://". Eclipse. Retrieved 12 Apr 2011. 
  7. ^ "class JettyHttpComponent". FuseSource. Red Hat. Retrieved 12 Apr 2011. [dead link]
  8. ^ "Platform Upgrade for r3". Retrieved 8 Apr 2014. 
  9. ^ "Twitter Streaming API and Apache Wink". Retrieved 19 May 2011. 
  10. ^ Zhuang, JJ (18 December 2007). "Zimbra Blog: Why we switched to Jetty". Zimbra. VMware. Retrieved 12 Apr 2011. 
  11. ^ "Powered by Jetty". Retrieved 24 Sep 2012. 
  12. ^ Lieber, Adam (December 2008). "Jetty: The Twelve Year Journey to Market Maturity". Linux Gazette. Retrieved 28 June 2013. 
  13. ^ "About Jetty". Codehaus. Retrieved 30 November 2011. 
  14. ^ a b Stack and Laffoon, Mark (July 23,). "HBase, mail # user - servlet container (embedded jetty)". Retrieved 11 October 2013.  Check date values in: |date= (help)
  15. ^ Murthy, Arun (August 25, 2011). "Apache Hadoop 0.23". Hortonworks. Retrieved 11 October 2013. 
  16. ^ a b "Jetty/FAQ - Eclipsepedia". 2011-09-06. Retrieved 2014-07-17. 
  17. ^ "Jetty - Java HTTP Servlet Server / Mailing Lists". Retrieved 2014-07-17. 
  18. ^ a b c d About Jetty, Located on Codehaus.
  19. ^ a b c d e f g About Jetty, Located on Eclipse.
  20. ^ "What Version". 2015-05-13. Retrieved 2015-05-13. 
  21. ^ "jetty 9.3.0 release review". 2015-02-25. Retrieved 2015-04-22. 
  22. ^ "jetty 9.2.0 release review". 2014-04-16. Retrieved 2015-04-22. 
  23. ^ "[jetty-announce] Jetty 9.1.0.v20131115 Stable Release!". 2013-11-18. Retrieved 2014-07-17. 
  24. ^ "[jetty-announce] Announcing Jetty 9.0.0". 2013-03-08. Retrieved 2014-07-17. 
  25. ^ "[jetty-announce] Jetty releases 7.6.0 and 8.1.0". Retrieved 2014-07-17. 

External links[edit]