- 정적 컨텐츠 처리
- 사용자가 요청한 request 에 있는 URI 로 가서 파일을 가지고 반환한다.
- 단순한 동작을 처리하기 때문에 Servlet 에게 넘기지 않고 WS 에서 처리한다.
- 데이터 전달
- 동적 컨텐츠 처리를 위한 request 를 Web Container 에게 전달하는 역할도 수행한다.
- client 와 통신 담당
- 소켓과 관련된 네트워크 처리를 해준다. 즉, client 의 request 를 받고 이에 대한 응답인 response 를 보내는 역할을 한다.
https://me-analyzingdata.tistory.com/entry/Spring-Spring-을-이용한-웹-서비스-구조#--%--Tomcat%C-%A-