SlideShare a Scribd company logo
1 of 30
Introduction to Jetty Jetty  の紹介
Jetty History Jetty  の歴史 ,[object Object],[object Object],[object Object],Version Home Java HTTP Servlet JSP Status 8.x Eclipse/Codehaus 1.6 HTTP/1.1 RFC2616 3.0 2.2 Experimental 7.x Eclipse/Codehaus 1.5 HTTP/1.1 RFC2616 2.5 2.1 Stabilising 6.x Codehaus 1.4-1.5 HTTP/1.1 RFC2616 2.5 2.0/2.1 Stable 5.x Sourceforge 1.2-1.5 HTTP/1.1 RFC2616 2.4 2.0 Mature 4.x Sourceforge 1.2 HTTP/1.1 RFC2616 2.3 1.2 Ancient 3.x Sourceforge 1.2 HTTP/1.1 RFC2616 2.2 1.1 Fossilised 2.x Mortbay 1.1 HTTP/1.0 RFC1945 2.1 1.0 Legendary 1.x Mortbay 1.0 HTTP/1.0 RFC1945 Mythical
What is Jetty Jetty  とは何か ? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Jetty is a NOT a Application Server Jetty  はアプリケーションサーバーではありません JVM Application Application Server
Jetty is Component (s) Jetty  はコンポーネントです JVM Application Jetty://
Jetty can power Application Server Jetty  はアプリケーションサーバー のみ として も 稼働できます JVM Application Jetty:// Application Container
Jetty Inside Jetty  内部 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Jetty Powered
Jetty Powered
Features 特徴 “ It just works!”   稼働します! Feature  特徴 Benefit  利点 Compostable   コンポスト可能 Modular design   モジュール設計 Embeddable   埋込可能 Small footprint   小さなフットプリント Customizable   カスタマイズ可能 Extend or replace defaults   デフォルトの拡張・置換 JavaEE Optional modules   オプションモジュール Specifications   仕様 HTTP and Servlet compliance   HTTP とサーブレットのコンプライアンス Scalable   拡張可能 nio & asynchronous servlets   NIO (ノンブロッキング  I/O )と非同期サーブレット Cometd Java reference implementation   Java のリファレンスを実装 Libraries   ライブラリー Client, server, utility, testing Tool support   ツールサポート Maven, ant, eclipse integration Innovative   革新的 We like new use-cases :)   新規ユースケースを希望
Small footprint 小さなフットプリント ,[object Object],[object Object],[object Object]
Feature: scalability 特徴:拡張性 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Feature: asynchronous servlets 特徴:非同期サーブレット ,[object Object],[object Object],[object Object],resume suspend servlet GET Response
Feature: Modularity 特徴:モジュール
Feature: Embedding 特徴:埋め込み ,[object Object],[object Object],[object Object],Server server = new Server(8080); ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS); context.setContextPath("/"); server.setHandler(context); context.addServlet(new ServletHolder(new HelloServlet()),"/*"); server.start(); server.join(); java -cp servlet.jar:jetty-all.jar MyApplication
Feature: Flexibility 特徴:柔軟性 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Feature: JavaEE Modules 特徴: Java EE  モジュール ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Libraries and Utilities ライブラリーとユーティリティー ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Jetty Demos Jetty  デモ ,[object Object],[object Object],[object Object],[object Object]
Why Asynchronous? 何故、非同期であるのか ?
Why Async HTTP/Servlets? 何故、非同期 HTTP/ サーブレットであるのか ? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Why Async HTTP/Servlets? 何故、非同期 HTTP/ サーブレットであるのか ?
Async REST WS Demo 非同期 REST Web サービスのデモ
Waiting for WS Responses Web サービスのレスポンスの待機 Blocking WS Asynchronous WS Web サービスをブロック    非同期の Web サービス
Asynchronous WS –  Async client! 非同期の Web サービス – 非同期のクライアント! Webapp doGet doGet startAsync WS call dispatch Server
Waiting for Resources. eg JDBC リソースへの待機 例) JDBC ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
QoSFilter   サンプルソースコード ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Waiting for Events イベントへの待機 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why Async Servlets? 何故、非同期のサーブレットであるのか ? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to Cometd Cometd  の紹介に続きます

More Related Content

Similar to Jetty Introduction

Core rest edgarsilva_v1
Core rest edgarsilva_v1Core rest edgarsilva_v1
Core rest edgarsilva_v1Edgar Silva
 
Ria的强力后盾:rest+海量存储
Ria的强力后盾:rest+海量存储 Ria的强力后盾:rest+海量存储
Ria的强力后盾:rest+海量存储 zhen chen
 
详细介绍什么是Java虚拟机(JVM)介绍资料
详细介绍什么是Java虚拟机(JVM)介绍资料详细介绍什么是Java虚拟机(JVM)介绍资料
详细介绍什么是Java虚拟机(JVM)介绍资料wensheng wei
 
2010 06 15 SecondNug - JAVA vs NET
2010 06 15 SecondNug - JAVA vs NET2010 06 15 SecondNug - JAVA vs NET
2010 06 15 SecondNug - JAVA vs NETBruno Capuano
 
автоматизация Flex приложений с помощью selenium rc
автоматизация Flex приложений с помощью selenium rcавтоматизация Flex приложений с помощью selenium rc
автоматизация Flex приложений с помощью selenium rcIgor Khrol
 
IIS7.5概要 10月17日
IIS7.5概要 10月17日IIS7.5概要 10月17日
IIS7.5概要 10月17日hirookun
 
Spring Framework 3: Um 'brainstorm' de novas funcionalidades
Spring Framework 3: Um 'brainstorm' de novas funcionalidadesSpring Framework 3: Um 'brainstorm' de novas funcionalidades
Spring Framework 3: Um 'brainstorm' de novas funcionalidadesDr. Spock
 
Nodejs on android
Nodejs on androidNodejs on android
Nodejs on android俊夫 森
 
分会场六用Storage foundation简化操作系统和存储系统的迁移
分会场六用Storage foundation简化操作系统和存储系统的迁移分会场六用Storage foundation简化操作系统和存储系统的迁移
分会场六用Storage foundation简化操作系统和存储系统的迁移ITband
 
Lecture exch2k7 21_10_08 - copy
Lecture exch2k7 21_10_08 - copyLecture exch2k7 21_10_08 - copy
Lecture exch2k7 21_10_08 - copyArcobaleno Nesta
 
Webperfdays 2014 - common web performance mistakes
Webperfdays 2014  - common web performance mistakesWebperfdays 2014  - common web performance mistakes
Webperfdays 2014 - common web performance mistakesdkoston
 
Seminario Ruby On Rails Aula Open Source
Seminario Ruby On Rails Aula Open SourceSeminario Ruby On Rails Aula Open Source
Seminario Ruby On Rails Aula Open SourceSergio Alonso
 
Social networks analisys - github API
Social networks analisys - github APISocial networks analisys - github API
Social networks analisys - github APIbaturin
 
Semantic Web Service Annotation
Semantic Web Service AnnotationSemantic Web Service Annotation
Semantic Web Service AnnotationMichele Filannino
 
Congreso del mediterraneo_xen_server_v010
Congreso del mediterraneo_xen_server_v010Congreso del mediterraneo_xen_server_v010
Congreso del mediterraneo_xen_server_v010Javier Sanchez Alcazar
 
Nosql七种武器之长生剑 mongodb的使用介绍
Nosql七种武器之长生剑 mongodb的使用介绍Nosql七种武器之长生剑 mongodb的使用介绍
Nosql七种武器之长生剑 mongodb的使用介绍thinkinlamp
 
Monitorare le applicazioni: costruire un agent plugin per l’introspezione del...
Monitorare le applicazioni: costruire un agent plugin per l’introspezione del...Monitorare le applicazioni: costruire un agent plugin per l’introspezione del...
Monitorare le applicazioni: costruire un agent plugin per l’introspezione del...Codemotion
 

Similar to Jetty Introduction (20)

FISL11 2010 - Automação de Datacenters
FISL11 2010 - Automação de DatacentersFISL11 2010 - Automação de Datacenters
FISL11 2010 - Automação de Datacenters
 
Core rest edgarsilva_v1
Core rest edgarsilva_v1Core rest edgarsilva_v1
Core rest edgarsilva_v1
 
Der lachende Dritte
Der lachende DritteDer lachende Dritte
Der lachende Dritte
 
Ria的强力后盾:rest+海量存储
Ria的强力后盾:rest+海量存储 Ria的强力后盾:rest+海量存储
Ria的强力后盾:rest+海量存储
 
详细介绍什么是Java虚拟机(JVM)介绍资料
详细介绍什么是Java虚拟机(JVM)介绍资料详细介绍什么是Java虚拟机(JVM)介绍资料
详细介绍什么是Java虚拟机(JVM)介绍资料
 
2010 06 15 SecondNug - JAVA vs NET
2010 06 15 SecondNug - JAVA vs NET2010 06 15 SecondNug - JAVA vs NET
2010 06 15 SecondNug - JAVA vs NET
 
JVM 学习笔记
JVM 学习笔记JVM 学习笔记
JVM 学习笔记
 
автоматизация Flex приложений с помощью selenium rc
автоматизация Flex приложений с помощью selenium rcавтоматизация Flex приложений с помощью selenium rc
автоматизация Flex приложений с помощью selenium rc
 
IIS7.5概要 10月17日
IIS7.5概要 10月17日IIS7.5概要 10月17日
IIS7.5概要 10月17日
 
Spring Framework 3: Um 'brainstorm' de novas funcionalidades
Spring Framework 3: Um 'brainstorm' de novas funcionalidadesSpring Framework 3: Um 'brainstorm' de novas funcionalidades
Spring Framework 3: Um 'brainstorm' de novas funcionalidades
 
Nodejs on android
Nodejs on androidNodejs on android
Nodejs on android
 
分会场六用Storage foundation简化操作系统和存储系统的迁移
分会场六用Storage foundation简化操作系统和存储系统的迁移分会场六用Storage foundation简化操作系统和存储系统的迁移
分会场六用Storage foundation简化操作系统和存储系统的迁移
 
Lecture exch2k7 21_10_08 - copy
Lecture exch2k7 21_10_08 - copyLecture exch2k7 21_10_08 - copy
Lecture exch2k7 21_10_08 - copy
 
Webperfdays 2014 - common web performance mistakes
Webperfdays 2014  - common web performance mistakesWebperfdays 2014  - common web performance mistakes
Webperfdays 2014 - common web performance mistakes
 
Seminario Ruby On Rails Aula Open Source
Seminario Ruby On Rails Aula Open SourceSeminario Ruby On Rails Aula Open Source
Seminario Ruby On Rails Aula Open Source
 
Social networks analisys - github API
Social networks analisys - github APISocial networks analisys - github API
Social networks analisys - github API
 
Semantic Web Service Annotation
Semantic Web Service AnnotationSemantic Web Service Annotation
Semantic Web Service Annotation
 
Congreso del mediterraneo_xen_server_v010
Congreso del mediterraneo_xen_server_v010Congreso del mediterraneo_xen_server_v010
Congreso del mediterraneo_xen_server_v010
 
Nosql七种武器之长生剑 mongodb的使用介绍
Nosql七种武器之长生剑 mongodb的使用介绍Nosql七种武器之长生剑 mongodb的使用介绍
Nosql七种武器之长生剑 mongodb的使用介绍
 
Monitorare le applicazioni: costruire un agent plugin per l’introspezione del...
Monitorare le applicazioni: costruire un agent plugin per l’introspezione del...Monitorare le applicazioni: costruire un agent plugin per l’introspezione del...
Monitorare le applicazioni: costruire un agent plugin per l’introspezione del...
 

More from Daisuke Sugai

From Intramart To Kintone
From Intramart To KintoneFrom Intramart To Kintone
From Intramart To KintoneDaisuke Sugai
 
コックピットアプリケーション
コックピットアプリケーションコックピットアプリケーション
コックピットアプリケーションDaisuke Sugai
 
アプリケーションコントローラー
アプリケーションコントローラーアプリケーションコントローラー
アプリケーションコントローラーDaisuke Sugai
 
ガントチャートから始まるKintone SFA
ガントチャートから始まるKintone SFAガントチャートから始まるKintone SFA
ガントチャートから始まるKintone SFADaisuke Sugai
 
From excel To Applicationは儲からない
From excel To Applicationは儲からないFrom excel To Applicationは儲からない
From excel To Applicationは儲からないDaisuke Sugai
 
Kintone vs SFDC vs Google Kintone Support Version
Kintone vs SFDC vs Google Kintone Support VersionKintone vs SFDC vs Google Kintone Support Version
Kintone vs SFDC vs Google Kintone Support VersionDaisuke Sugai
 
Kintone vs Salesforce vs Google
Kintone vs Salesforce vs GoogleKintone vs Salesforce vs Google
Kintone vs Salesforce vs GoogleDaisuke Sugai
 
From sfdc to kintone
From sfdc to kintoneFrom sfdc to kintone
From sfdc to kintoneDaisuke Sugai
 
Apple Push Notification Serviceの使い方
Apple Push Notification Serviceの使い方Apple Push Notification Serviceの使い方
Apple Push Notification Serviceの使い方Daisuke Sugai
 
新人育成サポート
新人育成サポート新人育成サポート
新人育成サポートDaisuke Sugai
 
Titanium Development
Titanium DevelopmentTitanium Development
Titanium DevelopmentDaisuke Sugai
 
Intalio japan special cloud workshop
Intalio japan special cloud workshopIntalio japan special cloud workshop
Intalio japan special cloud workshopDaisuke Sugai
 
Intalio cloud development way in Japanese
Intalio cloud development way in JapaneseIntalio cloud development way in Japanese
Intalio cloud development way in JapaneseDaisuke Sugai
 
Intalio Cloud SmartPhone
Intalio Cloud SmartPhoneIntalio Cloud SmartPhone
Intalio Cloud SmartPhoneDaisuke Sugai
 

More from Daisuke Sugai (20)

Uber
UberUber
Uber
 
From Intramart To Kintone
From Intramart To KintoneFrom Intramart To Kintone
From Intramart To Kintone
 
コックピットアプリケーション
コックピットアプリケーションコックピットアプリケーション
コックピットアプリケーション
 
アプリケーションコントローラー
アプリケーションコントローラーアプリケーションコントローラー
アプリケーションコントローラー
 
ガントチャートから始まるKintone SFA
ガントチャートから始まるKintone SFAガントチャートから始まるKintone SFA
ガントチャートから始まるKintone SFA
 
From excel To Applicationは儲からない
From excel To Applicationは儲からないFrom excel To Applicationは儲からない
From excel To Applicationは儲からない
 
Kintone vs SFDC vs Google Kintone Support Version
Kintone vs SFDC vs Google Kintone Support VersionKintone vs SFDC vs Google Kintone Support Version
Kintone vs SFDC vs Google Kintone Support Version
 
Kintone vs Salesforce vs Google
Kintone vs Salesforce vs GoogleKintone vs Salesforce vs Google
Kintone vs Salesforce vs Google
 
From sfdc to kintone
From sfdc to kintoneFrom sfdc to kintone
From sfdc to kintone
 
Schedule Arrrange
Schedule ArrrangeSchedule Arrrange
Schedule Arrrange
 
Apple Push Notification Serviceの使い方
Apple Push Notification Serviceの使い方Apple Push Notification Serviceの使い方
Apple Push Notification Serviceの使い方
 
半年の動き
半年の動き半年の動き
半年の動き
 
Business designer
Business designerBusiness designer
Business designer
 
サポNavi
サポNaviサポNavi
サポNavi
 
新人育成サポート
新人育成サポート新人育成サポート
新人育成サポート
 
Titanium Development
Titanium DevelopmentTitanium Development
Titanium Development
 
Intalio japan special cloud workshop
Intalio japan special cloud workshopIntalio japan special cloud workshop
Intalio japan special cloud workshop
 
Intalio cloud development way in Japanese
Intalio cloud development way in JapaneseIntalio cloud development way in Japanese
Intalio cloud development way in Japanese
 
Intalio Cloud SmartPhone
Intalio Cloud SmartPhoneIntalio Cloud SmartPhone
Intalio Cloud SmartPhone
 
Cloud box
Cloud boxCloud box
Cloud box
 

Jetty Introduction

  • 1. Introduction to Jetty Jetty の紹介
  • 2.
  • 3.
  • 4. Jetty is a NOT a Application Server Jetty はアプリケーションサーバーではありません JVM Application Application Server
  • 5. Jetty is Component (s) Jetty はコンポーネントです JVM Application Jetty://
  • 6. Jetty can power Application Server Jetty はアプリケーションサーバー のみ として も 稼働できます JVM Application Jetty:// Application Container
  • 7.
  • 10. Features 特徴 “ It just works!”   稼働します! Feature  特徴 Benefit  利点 Compostable   コンポスト可能 Modular design   モジュール設計 Embeddable   埋込可能 Small footprint   小さなフットプリント Customizable   カスタマイズ可能 Extend or replace defaults   デフォルトの拡張・置換 JavaEE Optional modules   オプションモジュール Specifications   仕様 HTTP and Servlet compliance   HTTP とサーブレットのコンプライアンス Scalable   拡張可能 nio & asynchronous servlets   NIO (ノンブロッキング I/O )と非同期サーブレット Cometd Java reference implementation   Java のリファレンスを実装 Libraries   ライブラリー Client, server, utility, testing Tool support   ツールサポート Maven, ant, eclipse integration Innovative   革新的 We like new use-cases :)   新規ユースケースを希望
  • 11.
  • 12.
  • 13.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 21.
  • 22.
  • 23. Async REST WS Demo 非同期 REST Web サービスのデモ
  • 24. Waiting for WS Responses Web サービスのレスポンスの待機 Blocking WS Asynchronous WS Web サービスをブロック    非同期の Web サービス
  • 25. Asynchronous WS – Async client! 非同期の Web サービス – 非同期のクライアント! Webapp doGet doGet startAsync WS call dispatch Server
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. Introduction to Cometd Cometd の紹介に続きます

Editor's Notes

  1. + written 1997 for programming contest + provides an http server like Apache but in Java + also a servlet server like Tomcat but both combined + philosophy is to be small as possible and easily embeddable, not monolithic standalone but can also be run standalone. Mission is to do the servlet spec implementation in the best possible way. + few jar dependencies as possible: just + many previous versions, now rewritten for Jetty6 taking advantage of NIO, non-blocking IO and support for Continuations + other j2ee services like <resource-ref> and UserTransactions, JAAS etc developed as optional add-ons, generally referred to as JettyPlus + jetty is the webcontainer in a number of J2EE app servers, mostly currently using jetty5, moving on to jetty6. A bit of Jboss history, still available from mortbay servers. + the Jetty “hall of fame” page, as well as numerous cds, books etc