Search
Duplicate
๐ŸŽด

tomcat ๋‚ด๋ถ€

โ€ข
์นดํƒˆ๋ฆฌ๋‚˜๋Š” ํ†ฐ์บฃ ์—”์ง„
โ—ฆ
์š”์ฒญ์— ๋Œ€ํ•œ ์ปค๋„ฅํ„ฐ๋“ค์„ ์ฒ˜๋ฆฌํ•˜๋Š” ํŒŒ์ดํ”„๋ผ์ธ
โ—ฆ
ex) ์ฝ”์š”ํ…Œ๊ฐ€ ์š”์ฒญ์„ ๋ฐ›์œผ๋ฉด ์นดํƒˆ๋ฆฌ๋‚˜์—๊ฒŒ ์—ฐ๊ฒฐํ•ด์„œ ์นดํƒˆ๋ฆฌ๋‚˜๊ฐ€ ์š”์ฒญ์— ๋Œ€ํ•œ ์‘๋‹ต์„ ์ฒ˜๋ฆฌํ•˜๊ณ  ๊ฒฐ๊ณผ๊ฐ’ ๋ฐ˜ํ™˜

Connector

โ€ข
์†Œ์ผ“์„ ์–ป๊ณ  ๋ฐ์ดํ„ฐ ํŒจํ‚ท์„ ์–ป์–ด ServletRequest ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  Servlet Container ์—๊ฒŒ ์ „๋‹ฌํ•˜๋Š” ์—ญํ• 
1.
port listen ์„ ํ†ตํ•ด Socket Connection ํš๋“
2.
Socket Connection ์œผ๋กœ๋ถ€ํ„ฐ ํŒจํ‚ท ํš๋“
3.
๋ฐ์ดํ„ฐ๋ฅผ ํŒŒ์‹ฑํ•˜์—ฌ Servlet Request ์ƒ์„ฑ
4.
ServletRequest ๋ฅผ Servlet Container ๋กœ ์ „์†ก