Undertow 맛보기 
Jeff Lee
Undertow? 
http://undertow.io 
https://github.com/undertow-io 
Undertow has a composition based architecture 
that allows you to build a web server by 
combining small single purpose handlers. 
- Full Java EE servlet 3.1 container 
- Low level non-blocking handler
Why Undertow 
Lightweight 
HTTP Upgrade Support (101-Switching Protocols) 
Web Socket Support 
Servlet 3.1 
Embeddable 
Flexible
Undertow Features 
High Performance 
Embeddable 
Servlet 3.1 
Web Sockets 
Reverse Proxy
Show me the code
Undertow Architecture 
XNIO 
비동기 통신 라이브러리 (ex:Netty) 
SSL 지원 
http://xnio.jboss.org/
Undertow Architecture 
Listeners 
HTTP 
HTTPS 
AJP 
SPDY(지원 예정)
Undertow Architecture 
Handlers - Handler Chaining
Built in Handlers 
Path 
Virtual Host 
Path Template 
Date 
Resource 
Predicate 
HTTP Continue 
Websocket 
Redirect 
Trace 
Header 
IP Access Control 
ACL 
URL Decoding 
Set Attribute 
Rewrite 
Graceful Shutdown 
Proxy Peer Address
Error Handling
Reverse Proxy 
SimpleProxyClientProvider 
서버 하나의 요청을 처리 
실제 서버를 외부에 숨길 때 사용 
LoadBalancingProxyClient 
여러 서버의 요청을 처리 
부하 분산할 때 사용
Servlet Deployment

Undertow 맛보기