Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 백준 16236
- Coroutine
- with recursive
- MySQL
- 백준
- 프로그래머스
- 백준 17626
- 백준 17779
- spring security
- spring cloud
- Kotlin
- java 기술면접
- MSA
- sql 기술면접
- 백준 19238
- 프로래머스
- re.split
- 백준 15685
- 웹어플리케이션 서버
- spring oauth
- springboot
- 백준 16719
- java
- JVM
- Spring Boot
- Spring
- 파이썬
- 백준 16235
- 백준 파이썬
- JPA
Archives
- Today
- Total
목록스프링 컨테이너 (1)
시작이 반
[Spring] 스프링 컨테이너 생성과정
1. 스프링 컨테이너 생성 ApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class); ApplicationContext를 스프링 컨테이너라고 한다. new AnnotationConfigApplicationContext를 사용하여 어노테이션 기반으로 설정된 class를 기반으로 스프링 컨테이너를 만든다. AppConfig는 객체를 생성하는 class이다. 어노테이션으로 configuration과 빈을 설정해준다. @Configuration public class AppConfig { @Bean public MemberService memberService(){ return new MemberS..
Programming/Spring
2021. 5. 11. 20:38