Skip to content

Commit 3726d1b

Browse files
committed
[UPDATE] README.md
1 parent ce1cabd commit 3726d1b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ print("hello world!")
872872
<details>
873873
<summary>IoC 컨테이너의 역할은 무엇이 있을까요?</summary>
874874
</br>
875-
<p></p>
875+
<p>애플레키이션 실행시점에 빈 오브젝트를 인스턴스화하고 DI 한 후에 최초로 애플리케이션을 기동할 빈 하나를 제공해준다</p>
876876
</details>
877877

878878
<details>
@@ -887,7 +887,7 @@ print("hello world!")
887887
<details>
888888
<summary>Autowiring 과정에 대해서 설명해주세요.</summary>
889889
</br>
890-
<p></p>
890+
<p>컨테이너에서 타입을 이용해 의존 대상 객체를 검색하고 할당할 수 있는 빈 객체를 찾아 주입한다</p>
891891
</details>
892892

893893
<details>
@@ -918,12 +918,14 @@ print("hello world!")
918918
<summary>Spring에서 CORS 에러를 해결하기 위한 방법을 설명해주세요.</summary>
919919
</br>
920920
<p>Servlet Filter를 사용하여 커스텀한 Cors 설정하거나, WebMvcConfiguer를 구현한 Configuration 클래스를 만들어서 addCorsMappings()를 재정의할 수도 있고, 마지막으로 Spring Security에서 CorsConfigurationSource를 Bean으로 등록하고 config에 추가해줌으로써 해결할 수 있습니다.</p>
921+
<p>Controller 클래스에 @Crossorigin 어노테이션을 통해 해결할 수 있습니다.</p>
921922
</details>
922923

923924
<details>
924-
<summary>Bean/Component 애노테이션에 대해서 설명해주시고, 둘의 차이점에 대해 설명해주세요.</summary>
925+
<summary>Bean/Component 어노테이션에 대해서 설명해주시고, 둘의 차이점에 대해 설명해주세요.</summary>
925926
</br>
926-
<p></p>
927+
<p>@Bean : 개발자가 직접 제어가 불가능한 외부 라이브러리를 사용한 경우에 사용합니다.</p>
928+
<p>@Component : 개발자가 작성한 class를 Bean으로 만들기 위해 사용합니다.</p>
927929
</details>
928930

929931
<details>

0 commit comments

Comments
 (0)