Jetty (web server)

{{Short description|Web server written in Java}}

{{Infobox software

| name = Jetty

| logo = jetty logo.png

| caption =

| author = Greg Wilkins

| developer = Eclipse Foundation

| ver layout = stacked

| released = {{Start date and age|1995}}

| latest release version = {{multiple releases

| branch1 = 12.0.x

| version1 = 12.0.0

| date1 = {{Start date and age|2023|08|07}}

| branch2 = 11.0.x

| version2 = 11.0.15

| date2 = {{Start date and age|2023|04|13}}

| branch3 = 10.0.x

| version3 = 10.0.15

| date3 = {{Start date and age|2023|04|13}}

| branch4 = 9.4.x

| version4 = 9.4.52

| date4 = {{Start date and age|2023|08|28}}

}}

| latest release date =

| latest preview version =

| latest preview date =

| repo = {{URL|https://github.com/jetty/jetty.project|Jetty Repository}}

| programming language = Java

| operating system = Cross-platform (JVM)

| genre = Web server, Servlet container

| license = Apache License 2.0, Eclipse Public License v1.0

| website = {{URL|https://jetty.org/}}

}}

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,{{cite web |title=ActiveMQ with Ajax and Jetty |url=http://docs.codehaus.org/display/JETTY/Integrating+with+ActiveMQ |publisher=Jetty Wike (Codehaus) |access-date=2011-04-12 |url-status=dead |archive-url=https://web.archive.org/web/20110830122616/http://docs.codehaus.org/display/JETTY/Integrating%2Bwith%2BActiveMQ |archive-date=2011-08-30 }} Alfresco,{{cite web |title=Maven + Alfresco : Jetty, Boostrap and Profil |url=http://www.open-source-ecm.com/2010/04/maven-alfresco-jetty-boostrap-and.html |author=JM.Pascal |date=April 2010 |publisher=Going to an OpenSource ECM World.... |access-date=2011-04-12 |url-status=dead |archive-url=https://web.archive.org/web/20120107014602/http://www.open-source-ecm.com/2010/04/maven-alfresco-jetty-boostrap-and.html |archive-date=2012-01-07}} Scalatra, Apache Geronimo,{{cite web |url=https://geronimo.apache.org/GMOxDOC20/configuring-virtual-hosts-in-geronimo-jetty.html |title=Configuring Virtual Hosts in Geronimo-Jetty |date=6 January 2009 |publisher=Apache Geronimo Documentation |access-date=2011-04-12}} Apache Maven, Apache Spark, Google App Engine, Eclipse,{{cite web |url=http://www.eclipse.org/jetty/ |title=jetty:// |publisher=Eclipse |access-date=12 Apr 2011}} FUSE,{{cite web|url=http://fusesource.com/docs/router/1.6/apidoc/overview-summary.html |title=class JettyHttpComponent |website=FuseSource |publisher=Red Hat |access-date=12 Apr 2011 |url-status=dead |archive-url=https://web.archive.org/web/20110315051854/http://fusesource.com/docs/router/1.6/apidoc/overview-summary.html |archive-date=March 15, 2011}} iDempiere,{{cite web |url=https://idempiere.atlassian.net/browse/IDEMPIERE-2245l |title=Platform Upgrade for r3 |access-date=8 Apr 2014}} Twitter's Streaming API{{cite web |url=http://matthiaswessendorf.wordpress.com/2010/02/16/twitter-streaming-api-and-apache-wink/ |title=Twitter Streaming API and Apache Wink |access-date=19 May 2011 |archive-url=https://web.archive.org/web/20160315215147/https://matthiaswessendorf.wordpress.com/2010/02/16/twitter-streaming-api-and-apache-wink/ |archive-date=15 March 2016 |url-status=dead }} and Zimbra.{{cite web |url=https://blog.zimbra.com/2007/12/why-we-switched-to-jetty/ |title=Zimbra Blog: Why we switched to Jetty |last=Zhuang |first=JJ |date=18 December 2007 |website=Zimbra |publisher=VMware |access-date=12 Apr 2011}} Jetty is also the server in open source projects such as Lift, Eucalyptus, OpenNMS, Red5, Hadoop and I2P.{{cite web |url=http://www.eclipse.org/jetty/powered/ |title=Powered by Jetty |access-date=24 Sep 2012 |archive-date=28 June 2020 |archive-url=https://web.archive.org/web/20200628103948/http://www.eclipse.org/jetty/powered/ |url-status=dead }} 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.{{cite web |url=http://linuxgazette.net/157/lieber.html |title=Jetty: The Twelve Year Journey to Market Maturity |last=Lieber |first=Adam |date=December 2008 |publisher=Linux Gazette |access-date=28 June 2013}}{{cite web |url=https://jetty.org/index.html#where-is-jetty-used |title=About Jetty |publisher=Jetty |access-date=13 June 2024 |archive-url=https://web.archive.org/web/20120106085159/http://docs.codehaus.org/display/JETTY/About%20Jetty#AboutJetty-Eclipse |archive-date=6 January 2012 |url-status=dead }} 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.{{cite web|url=http://sourceforge.net/mailarchive/forum.php?thread_name=4386295B.9020103%40mortbay.com&forum_name=jetty-discuss |title=Jetty - Java HTTP Servlet Server / Mailing Lists |publisher=Sourceforge.net |access-date=2014-07-17}} 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.

class="wikitable"
Version

! Home

! Min Java Version

! Protocols

! Servlet Version

! JSP Version

! Status

12.0.x

| Eclipse

| 17

| HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI, JakartaEE Namespace

| 3.1, 4.0, 5.0, 6.0

| 2.3, 3.0, 3.1

| Stable

11.0.x

| Eclipse

| 11

| HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI, JakartaEE Namespace

| 5.0

| 3.0

| EOL / Security Only

10.0.x

| Eclipse

| 11

| HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI

| 4.0

| 2.3

| EOL / Security Only

9.4.x

| Eclipse

| 1.8

| HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI

| 3.1

| 2.3

| EOL / Security Only

9.3.x

| Eclipse

| 1.8

| HTTP/1.1 RFC7230, HTTP/2 RFC7540, WebSocket RFC6455/JSR356, FastCGI

| 3.1

| 2.3

| Deprecated

9.2.x

| Eclipse

| 1.7

| HTTP/1.1 RFC2616, WebSocket RFC6455, SPDY v3

| 3.1

| 2.3

| Deprecated

9.1.x

| Eclipse

| 1.7

| HTTP/1.1 RFC2616

| 3.1

| 2.3

| Deprecated

9.0.x

| Eclipse

| 1.7

| HTTP/1.1 RFC2616

| 3.1-beta

| 2.3

| Deprecated

8.x

| Eclipse/Codehaus

| 1.6

| HTTP/1.1 RFC2616, WebSocket RFC6455, SPDY v3

| 3.0

| 2.2

| Venerable

7.x

| Eclipse/Codehaus

| 1.5

| HTTP/1.1 RFC2616, WebSocket RFC6455, SPDY v3

| 2.5

| 2.1

| Venerable

6.x

| Codehaus

| 1.4–1.5

| HTTP/1.1 RFC2616

| 2.5

| 2.0

| Antique

5.x

| SourceForge

| 1.2–1.5

| HTTP/1.1 RFC2616

| 2.4

| 2.0

| Relic

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

{{reflist|40em|refs=

[http://docs.codehaus.org/display/JETTY/About+Jetty About Jetty] {{webarchive |url=https://web.archive.org/web/20150531000351/http://docs.codehaus.org/display/JETTY/About%20Jetty |date=2015-05-31}}, Located on Codehaus.

[http://www.eclipse.org/jetty/about.php About Jetty] {{webarchive |url=https://web.archive.org/web/20101121222719/http://eclipse.org/jetty/about.php |date=2010-11-21}}, Located on Eclipse.

{{cite web |url=http://wiki.eclipse.org/Jetty/FAQ#Why_is_it_called_Jetty.3F |title=Jetty/FAQ - Eclipsepedia |publisher=Wiki.eclipse.org |date=2011-09-06 |access-date=2014-07-17}}

{{cite web |url=https://dev.eclipse.org/mhonarc/lists/jetty-dev/msg02634.html |title=The Eclipse Jetty Project repository has moved to Github! |date=2016-02-12}}

{{cite web |url=https://github.com/eclipse/jetty.project/releases |title=Releases · eclipse/jetty.project |website=github.com |access-date=2023-08-07}}

{{cite web |url=https://jetty.org/download.html#version-history |title=Jetty Versions |website=eclipse.org |access-date=2024-10-11}}

{{cite web |url=http://www.infoq.com/news/2009/08/google-chose-jetty |title=Google Chose Jetty for App Engine |last=Wickesser |first=Craig |date=5 August 2009 |website=InfoQ |publisher=C4Media Inc |access-date=12 Apr 2011}}

}}