SeSAC 65일차 / Spring
SeSAC 65일차(2023-10-24) Spring scope 싱글톤 기본 scope 스프링 컨테이너의 시작과 종료까지 유지되는 가장 넓은 범위의 scope 프로토타입 bean의 생성과 의존 관계 주입까지만 관여하는 짧은 범위의 scope 웹 scope request scope 다음 요청까지만 객체 유지 session scope 웹 세션이 생성되고 종료될 때 까지 유지 application scope 스프링 Containter 구성 방법 xml 기반 (legacy) Annotation 기반 xml 파일, MyRoom.java, Tape.java 의 형태는 동일 package dev.spring.step01field; import org.springframework.context.ApplicationCo..