1. Spring Container란 무엇인가

1️⃣ 정의

Spring Container란 애플리케이션에 필요한 객체(Bean)를 생성·관리·연결·소멸까지 담당하는 핵심 실행 환경입니다.

“Spring의 심장”


2️⃣ 역할


2. ApplicationContext

1️⃣ 정의

ApplicationContextSpring Container의 표준 구현체입니다.


2️⃣ 주요 구현체 (개념)

구현체 설명
AnnotationConfigApplicationContext 자바 설정 기반
ClassPathXmlApplicationContext XML 설정 (구식)
WebApplicationContext 웹 환경

👉 Spring Boot에서는 자동으로 생성됨