Jetty (web server)
|Stable release||9.2.2 / 23 July 2014|
|Operating system||Cross-platform (JVM)|
|Type||Web server Servlet|
|License||Apache License 2.0, Eclipse Public License 1.0|
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, Alfresco, Apache Geronimo, Apache Maven, Apache Spark, Google App Engine, Eclipse, FUSE, Twitter's Streaming API and Zimbra. Jetty is also the server in open source projects such as Lift, Eucalyptus, Red5, Hadoop and I2P. Jetty supports the latest Java Servlet API (with JSP support) as well as protocols SPDY and WebSocket.
Developed as an independent open source project, in 2009 Jetty moved to Eclipse. 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.
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.
- The TaskTracker uses Jetty to receive the map, reduce and shuffle operations from the JobTracker.
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.
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. 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)
|Version||Home||Java Version||Protocols||Servlet Version||JSP Version||Status|
|9.1.x||Eclipse||1.7||HTTP/1.1, WebSocket JSR356, SPDY||3.1||2.3||Stable since 2013-11-18|
|9.0.x||Eclipse||1.7||HTTP/1.1, WebSocket, SPDY||3.0 (tracking 3.1 drafts)||2.2||Stable since 2013-03-08|
|8.x||Eclipse, Codehaus||1.6||HTTP/1.1, WebSocket, SPDY||3.0||2.1||Stable|
|7.x||Eclipse, Codehaus||1.5, J2ME||HTTP/1.1, WebSocket, SPDY||2.5||2.1||Stable|
- Application server
- List of Java application servers
- Java Platform, Enterprise Edition
- Java Servlet
- JavaServer Pages
- Erdfelt, Joakim (23 July 2014). "[jetty-announce] Jetty 9.2.2.v20140723 Released!". Jetty mailing list. Retrieved 12 August 2014.
- "ActiveMQ with Ajax and Jetty". Jetty Wike (Codehaus). Retrieved 2011-04-12.
- JM.Pascal (April 2010). "Maven + Alfresco : Jetty, Boostrap and Profil". Going to an OpenSource ECM World.... Retrieved 2011-04-12.
- "Configuring Virtual Hosts in Geronimo-Jetty". Apache Geronimo Documentation. Retrieved 2011-04-12.
- Wickesser, Craig (5 August 2009). "Google Chose Jetty for App Engine". InfoQ. C4Media Inc. Retrieved 12 Apr 2011.
- "jetty://". Eclipse. Retrieved 12 Apr 2011.
- "class JettyHttpComponent". FuseSource. Red Hat. Retrieved 12 Apr 2011.[dead link]
- "Twitter Streaming API and Apache Wink". Retrieved 19 May 2011.
- Zhuang, JJ (18 December 2007). "Zimbra Blog: Why we switched to Jetty". Zimbra. VMware. Retrieved 12 Apr 2011.
- "Powered by Jetty". Retrieved 24 Sep 2012.
- Lieber, Adam (December 2008). "Jetty: The Twelve Year Journey to Market Maturity". Linux Gazette. Retrieved 28 June 2013.
- "About Jetty". Codehaus. Retrieved 30 November 2011.
- Stack and Laffoon, Mark (July 23,). "HBase, mail # user - servlet container (embedded jetty)". Retrieved 11 October 2013.
- "Jetty/FAQ - Eclipsepedia". Wiki.eclipse.org. 2011-09-06. Retrieved 2014-07-17.
- "Jetty - Java HTTP Servlet Server / Mailing Lists". Sourceforge.net. Retrieved 2014-07-17.
- About Jetty, Located on Codehaus.
- About Jetty, Located on Eclipse.
- "[jetty-announce] Jetty 9.1.0.v20131115 Stable Release!". Dev.eclipse.org. 2013-11-18. Retrieved 2014-07-17.
- "[jetty-announce] Announcing Jetty 9.0.0". Dev.eclipse.org. 2013-03-08. Retrieved 2014-07-17.
- "[jetty-announce] Jetty releases 7.6.0 and 8.1.0". Dev.eclipse.org. Retrieved 2014-07-17.