โœ๏ธ ์ฃผ๊ฐ„ ๊ณต๋ถ€ ๋‚ด์šฉ ์š”์•ฝ

์งง์€ SQL ์‹œ๊ฐ„์„ ๋๋‚ด๊ณ , ์‹ค์Šต ํ•œ ๋ฒˆ ํ•ด๋ณด๊ณ  ์„œ๋ฒ„ ์ˆ˜์—…์œผ๋กœ ๋“ค์–ด๊ฐ„ ๋“ฏ ํ•˜๋‹ค. WAS ์—ญํ• ์„ ํ•ด์ฃผ๋Š”  Tomcat ์„œ๋ฒ„์— ๋Œ€ํ•ด์„œ ๊ณต๋ถ€ํ–ˆ๊ณ , java๋กœ htmlํŒŒ์ผ์„ ๋‹ค๋ฃจ๋Š” ๋ฐฉ๋ฒ•์„ ๋ฐฐ์› ๋‹ค. 


[1.15.์›”์š”์ผ]
- ๋ฐ์ดํ„ฐ ๋ชจ๋ธ๋ง 

 

[1.16.ํ™”์š”์ผ]
- ํ”„๋กœ์ ํŠธ์—์„œ JDBC ์ž‘์—…(์‹ค์ œ๋กœ DBMS์™€ ํ†ต์‹ ์„ ์ˆ˜ํ–‰ํ•˜๋Š” ์—ญํ•  ๋‹ด๋‹น)

- DAO (์‹ค์ œ๋กœ ๋ฐ์ดํ„ฐ์— ์ ‘๊ทผํ•˜๋Š” ๊ฐ์ฒด)

- lombok ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์‚ฌ์šฉ
- Properties ๊ฐ์ฒด, Connection ๊ฐ์ฒด

 

[1.17.์ˆ˜์š”์ผ]

- JDBC ํ”„๋กœ์ ํŠธ ์ง„ํ–‰

 

[1.18.๋ชฉ์š”์ผ]

- ์„œ๋ฒ„ ๊ฐœ๋ฐœ ์‹œ์ž‘

- Servlet
- Tomcat ์›น ์„œ๋ฒ„
- Web Server, WAS ์ฐจ์ด

 

[1.19.๊ธˆ์š”์ผ]
- ์‹ฑ๊ธ€ํ†ค ํŒจํ„ด
- Servlet ์‹ค์Šต

- ์Šคํ”„๋ง ํ”„๋ ˆ์ž„์›Œํฌ ์ฑ…

 

๐Ÿง  Web Server / WAS

์ •์ ์ธ ์š”์ฒญ์€ Web ์„œ๋ฒ„, ๋™์ ์ธ ์š”์ฒญ์€ WAS

 

๐Ÿง Servlet

ํด๋ผ์ด์–ธํŠธ๊ฐ€ ์–ด๋–ค ์š”์ฒญ์„ ํ•˜๋ฉด ๊ทธ ๊ฒฐ๊ณผ๋ฅผ ๋‹ค์‹œ ์ „์†กํ•ด์ฃผ๋Š” ์—ญํ• ์„ ํ•œ๋‹ค. ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ์„œ๋ฒ„์—์„œ ๋™์ž‘ํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ ๊ตฌํ˜„์‹œ ์‚ฌ์šฉํ•˜๋ฉฐ, Servlet์€ ํด๋ผ์ด์–ธํŠธ ์š”์ฒญ์— ๋”ฐ๋ผ ์„œ๋ฒ„๊ฐ€ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ์œ ์ผํ•œ ์ž๋ฐ” ํŒŒ์ผ์ด๋‹ค. Servlet API๋ฅผ ํ†ตํ•ด ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์œผ๋ฉฐ, ๊ตฌํ˜„์„ ์œ„ํ•ด์„œ๋Š” HttpServlet์„ ์ƒ์† ๋ฐ›์œผ๋ฉด ๋œ๋‹ค. 

 

 

Servlet

์ž๋ฐ”ํŒŒ์ผ์—์„œ javax.servlet.Servlet ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๊ตฌํ˜„ํ•ด์„œ ์ž‘์„ฑ spring์ด servlet stack๊ธฐ๋ฐ˜ ๊ธฐ์ˆ ์ด๋‹ค. ๊ทธ๋ž˜์„œ ์ž˜ ์•Œ์•„๋†“์•„์•ผํ•œ๋‹ค. servlet ์ŠคํŽ™์„ ๊ตฌํ˜„ํ•œ Tomcat ์›น ์„œ๋ฒ„๋ฅผ ์„ค์น˜ํ•˜์—ฌ ํ™œ์šฉ ๊ฐ€๋Šฅ Servlet์ด๋ž€ ํด

jieum.tistory.com

 

๐Ÿง Apache Tomcat

JavaEE & Jakarta EE platform์ด ์š”๊ตฌํ•˜๋Š” ์ŠคํŽ™์„ ๊ตฌํ˜„ํ•œ ๊ตฌํ˜„์ฒด

tomcat์€ ๋‚ด์žฅ๊ธฐ๋Šฅ์œผ๋กœ web server, was ๋‚ด์žฅ

 

 

Tomcat

Web Server ํด๋ผ์ด์–ธํŠธ๊ฐ€ GET, POST ๋“ฑ์˜ ๋ฉ”์†Œ๋“œ๋ฅผ ์ด์šฉํ•ด ์ „์†กํ•œ ์š”์ฒญ์„ ๋ฐ›์•„ HTML์ด๋‚˜ ์˜ค๋ธŒ์ ํŠธ๋ฅผ HTTP ํ”„๋กœํ† ์ฝœ์„ ์ด์šฉํ•ด ์ „์†กํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์ด๋‹ค. ์›น ์„œ๋ฒ„๋Š” ์›นํŽ˜์ด์ง€, ์ด๋ฏธ์ง€ ๋“ฑ ์ •์ ์ธ ์ปจํ…์ธ ๋งŒ ์ œ

jieum.tistory.com

 

๐Ÿ“์ด๋ฒˆ์ฃผ ํšŒ๊ณ ์™€ ๋‹ค์Œ์ฃผ ๊ณ„ํš

์ด๋ฒˆ์ฃผ๋Š” ํ† ์ต ์ธ๊ฐ•์„ ๋“ฃ๊ธฐ ์‹œ์ž‘ํ•ด์„œ, ์ง‘๊ฐ€๋ฉด ๋ฌด์กฐ๊ฑด ํ† ์ต์ด์—ˆ๋‹ค. ์ถ”๊ฐ€๋กœ ์ž๋ฐ”๋ž‘ ์Šคํ”„๋ง ๊ณต๋ถ€ ๋” ํ•˜๊ณ ์‹ถ์€๋ฐ ์ถ”๊ฐ€์ ์ธ ์‹œ๊ฐ„ ๋‚ด๊ธฐ๊ฐ€ ์–ด๋ ค์› ๋‹ค. ์šด๋™ ์ฃผ 2ํšŒ, ๋งค์ผ ์˜์–ด ๊ณต๋ถ€, ์ฝ”ํ…Œ.. ๋‹ค์Œ์ฃผ๋Š” ์ž ์„ ์ข€ ์ค„์–ด์•ผ๊ฒ ๋‹ค.

+ Recent posts