Jetty (web server) explained

Jetty
Author:Greg Wilkins
Developer:Eclipse Foundation
Ver Layout:stacked
Programming Language:Java
Operating System:Cross-platform (JVM)
Genre:Web server, Servlet container
License:Apache License 2.0, Eclipse Public License v1.0

Eclipse Jetty is a Java 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,[1] Alfresco,[2] Scalatra, Apache Geronimo,[3] Apache Maven, Apache Spark, Google App Engine, Eclipse,[4] FUSE,[5] iDempiere,[6] Twitter's Streaming API[7] and Zimbra.[8] Jetty is also the server in open source projects such as Lift, Eucalyptus, OpenNMS, Red5, Hadoop and I2P.[9] Jetty supports the latest Java Servlet API (with JSP support) as well as protocols HTTP/2 and WebSocket.

Overview

Jetty started as an independent open-source project in 1995. In 2009 Jetty moved to Eclipse.[10] [11] Jetty often provides support for Web services in an embedded Java application and it is already a component of the Eclipse IDE. It provides support for a wide variety of specifications and protocols including JASPI, JMX, JNDI, OSGi, WebSocket, HTTP/2, and more.

History

Originally developed by software engineer Greg Wilkins, Jetty was an HTTP server component of Mort Bay Server. It 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.[12] As of 2009, the core components of Jetty have been moved to Eclipse.org, and Codehaus.org continued to provide integrations, extensions, and packaging of Jetty versions 7.x and 8.x (not 9.x) In 2016, the main repository of Jetty moved to GitHub, where it is still developed under the Eclipse IP Process.

VersionHomeMin Java VersionProtocolsServlet VersionJSP VersionStatus
12.0.xEclipse17HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI, JakartaEE Namespace6.03.1Stable
11.0.xEclipse11HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI, JakartaEE Namespace5.03.0Stable
10.0.xEclipse11HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI4.02.3Stable
9.4.xEclipse1.8HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI3.12.3Stable
9.3.xEclipse1.8HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI3.12.3Deprecated
9.2.xEclipse1.7HTTP/1.1 RFC2616, WebSocket RFC6455, SPDY v33.12.3Deprecated
9.1.xEclipse1.7HTTP/1.1 RFC26163.12.3Deprecated
9.0.xEclipse1.7HTTP/1.1 RFC26163.1-beta2.3Deprecated
8.xEclipse/Codehaus1.6HTTP/1.1 RFC2616, WebSocket RFC6455, SPDY v33.02.2Venerable
7.xEclipse/Codehaus1.5HTTP/1.1 RFC2616, WebSocket RFC6455, SPDY v32.52.1Venerable
6.xCodehaus1.4–1.5HTTP/1.1 RFC26162.52.0Antique
5.xSourceForge1.2–1.5HTTP/1.1 RFC26162.42.0Relic
4.xSourceForge1.2, J2MEHTTP/1.1 RFC26162.31.2Ancient
3.xSourceForge1.2HTTP/1.1 RFC20682.21.1Fossilized
2.xMortbay1.1HTTP/1.0 RFC19452.11.0Legendary
1.xMortbay1.0HTTP/1.0 RFC1945--Mythical

See also

External links

Notes and References

  1. Web site: ActiveMQ with Ajax and Jetty . Jetty Wike (Codehaus) . 2011-04-12 . dead . https://web.archive.org/web/20110830122616/http://docs.codehaus.org/display/JETTY/Integrating%2Bwith%2BActiveMQ . 2011-08-30 .
  2. Web site: Maven + Alfresco : Jetty, Boostrap and Profil . JM.Pascal . April 2010 . Going to an OpenSource ECM World.... . 2011-04-12 . dead . https://web.archive.org/web/20120107014602/http://www.open-source-ecm.com/2010/04/maven-alfresco-jetty-boostrap-and.html . 2012-01-07.
  3. Web site: Configuring Virtual Hosts in Geronimo-Jetty . 6 January 2009 . Apache Geronimo Documentation . 2011-04-12.
  4. Web site: jetty:// . Eclipse . 12 Apr 2011.
  5. Web site: class JettyHttpComponent . FuseSource . . 12 Apr 2011 . dead . https://web.archive.org/web/20110315051854/http://fusesource.com/docs/router/1.6/apidoc/overview-summary.html . March 15, 2011.
  6. Web site: Platform Upgrade for r3 . 8 Apr 2014.
  7. Web site: Twitter Streaming API and Apache Wink . 19 May 2011 . https://web.archive.org/web/20160315215147/https://matthiaswessendorf.wordpress.com/2010/02/16/twitter-streaming-api-and-apache-wink/ . 15 March 2016 . dead .
  8. Web site: Zimbra Blog: Why we switched to Jetty . Zhuang . JJ . 18 December 2007 . . . 12 Apr 2011.
  9. Web site: Powered by Jetty . 24 Sep 2012.
  10. Web site: Jetty: The Twelve Year Journey to Market Maturity . Lieber . Adam . December 2008 . Linux Gazette . 28 June 2013.
  11. Web site: About Jetty . Jetty . 13 June 2024 . https://web.archive.org/web/20120106085159/http://docs.codehaus.org/display/JETTY/About%20Jetty#AboutJetty-Eclipse . 6 January 2012 . dead .
  12. Web site: Jetty - Java HTTP Servlet Server / Mailing Lists . Sourceforge.net . 2014-07-17.