
기능을 담는 객체
정보를 담는 객체
interface 추상 //upcasting // 어떤 component(부품)이 들어올지 모른다
@Autowired → Singleton 사라짐
entity → DB table을 따라감
구조
클라이언트 Client(요청) ⇆ Web server(Tomcat) ⇆ filter(필터) | security (시큐리티) |CORS(Cross Orgin Resource Sharing) | X-Frame | ⇆ Dispatcher Servlet (디스패처 서블릿) ⇆ Handler Mapping(핸들러 매핑)
DTO(Data Transfer Object) && Entity(데이터의 집합?) = 정보를 담는 객체
Spring MVC Architechture
스프링부트 비즈니스 모델 (출처 : https://devlog-wjdrbs96.tistory.com/209)