{"id":4507,"date":"2018-01-08T10:58:53","date_gmt":"2018-01-08T10:58:53","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=4507"},"modified":"2018-01-08T10:58:53","modified_gmt":"2018-01-08T10:58:53","slug":"jetty-java-based-http-server","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/jetty-java-based-http-server\/","title":{"rendered":"Jetty &#8211; Java-based HTTP server"},"content":{"rendered":"<p><strong>Jetty<\/strong>\u00a0is a 100% pure Java-based\u00a0<strong>HTTP server<\/strong>\u00a0and servlet container (application server). Jetty is a free and open source project under the Apache 2.0 License. Jetty is used by several other popular projects including the Geronimo application server and by the Google Web Toolkit plug-in for Eclipse.<br \/>\n<strong>Jetty deployment<\/strong>\u00a0focuses on creating a simple, efficient,\u00a0<strong>embeddable<\/strong>\u00a0and pluggable web server. Jetty&#8217;s small size makes it suitable for providing web services in an embedded Java application.<\/p>\n<p>In\u00a0<strong>January 2009<\/strong>, Webtide announced that Jetty would be moving to\u00a0<strong>Eclipse Foundation<\/strong>. The Jetty project has been created, and the initial Jetty 7 code (with a refactored org.eclipse.jetty package) was checked into Jetty Subversion at Eclipse.<br \/>\nThe Java support in Google App Engine is built on Jetty.<\/p>\n<p>Jetty provides an HTTP server, HTTP client, and\u00a0<a href=\"http:\/\/java.sun.com\/javaee\/5\/docs\/api\/javax\/servlet\/package-summary.html\" target=\"_blank\" rel=\"noopener\">javax.servlet<\/a>\u00a0container. These components are open source and available for commercial use and distribution.<br \/>\nJetty is used in a wide variety of projects and products. Jetty can be embedded in devices, tools, frameworks, application servers, and clusters. See the\u00a0<a href=\"http:\/\/docs.codehaus.org\/display\/JETTY\/Jetty+Powered\" target=\"_blank\" rel=\"noopener\">Jetty Powered<\/a>\u00a0page for more uses of Jetty.<\/p>\n<p>The core Jetty project is hosted by the\u00a0<a href=\"http:\/\/www.eclipse.org\/\" target=\"_blank\" rel=\"noopener\">Eclipse Foundation<\/a>. The codehaus provides Jetty accessories , integrations, and extensions, as well as hosting older versions of Jetty. See the\u00a0<a href=\"http:\/\/www.eclipse.org\/jetty\/about.php\" target=\"_blank\" rel=\"noopener\">About<\/a>\u00a0page for information about the project structure.<\/p>\n<p><strong>Features Jetty<\/strong><\/p>\n<ul>\n<li>Full-featured and standards-based<\/li>\n<li>Open source and commercially usable<\/li>\n<li>Flexible and extensible<\/li>\n<li>Small footprint<\/li>\n<li>Embeddable<\/li>\n<li>Asynchronous<\/li>\n<li>Enterprise scalable<\/li>\n<li>Dual\u00a0<a href=\"http:\/\/www.eclipse.org\/jetty\/licenses.php\" target=\"_blank\" rel=\"noopener\">licensed<\/a>\u00a0under Apache and Eclipse<\/li>\n<\/ul>\n<p><strong>Powered<\/strong><\/p>\n<ul>\n<li>Large clusters, such as the\u00a0<a href=\"http:\/\/developer.yahoo.net\/hadoop\/\" target=\"_blank\" rel=\"noopener\">Yahoo Hadoop Cluster<\/a><\/li>\n<li>Cloud computing, such as the\u00a0<a href=\"http:\/\/code.google.com\/appengine\/\" target=\"_blank\" rel=\"noopener\">Google AppEngine<\/a><\/li>\n<li>SaaS, such as\u00a0<a href=\"http:\/\/www.zimbra.com\/\" target=\"_blank\" rel=\"noopener\">Yahoo! Zimbra<\/a><\/li>\n<li>Application Servers, such as\u00a0<a href=\"http:\/\/geronimo.apache.org\/\" target=\"_blank\" rel=\"noopener\">Apache Geronimo<\/a><\/li>\n<li>Frameworks, such as\u00a0<a href=\"http:\/\/code.google.com\/webtoolkit\/\" target=\"_blank\" rel=\"noopener\">GWT<\/a><\/li>\n<li>Tools, such as the\u00a0<a href=\"http:\/\/www.eclipse.org\/\" target=\"_blank\" rel=\"noopener\">Eclipse IDE<\/a><\/li>\n<li>Devices, such as\u00a0<a href=\"http:\/\/code.google.com\/p\/i-jetty\/\" target=\"_blank\" rel=\"noopener\">phones<\/a><\/li>\n<li><a href=\"http:\/\/docs.codehaus.org\/display\/JETTY\/Jetty+Powered\" target=\"_blank\" rel=\"noopener\">More&#8230;<\/a><\/li>\n<\/ul>\n<p><strong>Reference:\u00a0<\/strong><br \/>\n<a href=\"http:\/\/jetty.codehaus.org\/jetty\/\" target=\"_blank\" rel=\"noopener\">http:\/\/jetty.codehaus.org\/jetty\/<\/a><br \/>\n<a href=\"http:\/\/en.wikipedia.org\/wiki\/Jetty_%28web_server%29\" target=\"_blank\" rel=\"noopener\">http:\/\/en.wikipedia.org\/wiki\/Jetty_%28web_server%29<\/a><br \/>\n<a href=\"http:\/\/www.mortbay.org\/jetty\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.mortbay.org\/jetty\/<\/a><br \/>\n<a href=\"http:\/\/www.eclipse.org\/jetty\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.eclipse.org\/jetty\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jetty\u00a0is a 100% pure Java-based\u00a0HTTP server\u00a0and servlet container (application server). Jetty is a free and open source project under the Apache 2.0 License. Jetty is used by several other popular&#8230; <\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[4403,4402,3446],"class_list":["post-4507","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-http-server","tag-java-based-http-server","tag-jetty"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/4507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=4507"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/4507\/revisions"}],"predecessor-version":[{"id":4508,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/4507\/revisions\/4508"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=4507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=4507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=4507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}