카테고리 없음

dispatcher servlet

lluna 2022. 2. 7. 21:45

 

https://www.youtube.com/watch?v=calGCwG_B4Y

<problem>

1. multi-threading

- making a new thread costs a lot

- context-switching (trans to other thread) results 'overhead'

2. repeated common logics

 

<solve>

dispatcher sevlet

https://howtodoinjava.com/spring-mvc/spring-mvc-hello-world-example/

what we only have to care about is.. controller!

 

 dispatcher servlet  gets (injects)..... red boxes...  from spring container

 

 

 

참고자료

https://www.youtube.com/watch?v=calGCwG_B4Y