[21기_박채연] spring tutorial 미션 제출합니다. - #10
Open
challonsy wants to merge 3 commits into
Open
Conversation
seoahS01
reviewed
Mar 16, 2025
seoahS01
left a comment
There was a problem hiding this comment.
1주차 과제 하느라 고생 많으셨습니다! 앞으로도 화이팅 해봐요!!
| CEOS back-end 21st spring tutorial project | ||
|
|
||
| ## Spring Framework | ||
| 시작하기 전 알면 좋을 개념 |
Comment on lines
+59
to
+63
| ### 종류 | ||
| 매우 많다. `@Controller`, `@Service`, `@Bean` 등의 어노테이션이 있다. 각 어노테이션들은 다른 어노테이션을 포함하고 있을 수도 있는데, `@Component` 어노테이션을 포함하고 있는 어노테이션들은 빈으로 등록될 수 있다. | ||
|
|
||
| ### Bean 등록 과정 | ||
| `@ComponentScan`어노테이션은 `@Component` 어노테이션이 포함되어있는 어노테이션을 자동으로 스캔하여 해당 객체를 빈으로 등록한다. |
There was a problem hiding this comment.
어노테이션 종류에 대해 잘 알아봐주셨네요! 혹시 어노테이션을 직접 등록할 수도 있다는 사실 알고 계신가요?! 같이 한 번 알아보면 좋을 것 같아요~
mirupio
reviewed
Mar 16, 2025
| - 어떤 환경에서든 코드를 실행할 수 있도록, 코드 실행에 필요한 모든 요소를 담아둔 소프트웨어 패키지. | ||
| 코드는 물론 언어, 라이브러리 같이 종속적인 모든 항목을 포함한다. | ||
|
|
||
| ### Spring 프레임워크란? |
There was a problem hiding this comment.
Spring이 무엇인지 관련 개념과 비교해서 설명해주신 것이 인상 깊네요!
기본적인 개념이지만서도 간과하고 넘어갈 수 있는 부분을 짚어주셔서 좋은 것 같아요 :)
hyesuhan
reviewed
Mar 16, 2025
|
|
||
| #### Spring Boot vs Spring | ||
| 기존에는 다소 복잡했던 스프링 프레임워크의 의존성 설정이나 버전 관리, 빈 등록, 배포 등을 더 쉽게 할 수 있도록 도와주는 프레임워크가 Spring Boot 이다. | ||
|
|
There was a problem hiding this comment.
오히려 기본이어서 넘어가는 부분이었는데 잘 잡아주셔서 좋은 것 같아요! 잘 읽고 갑니다
| ### 단위 테스트 | ||
| 격리된 환경에서 필요한 부분만 모의 객체를 모아서 빠르고 효율적으로 테스트를 진행한다. | ||
| 서비스, 레포지토리, 도메인, 또는 코드 별 테스트를 작성할 수 있다. | ||
|
|
There was a problem hiding this comment.
단위 테스트도 여러 가지 스타일로 작성하는 것 같은데, 저는 given-when-then 방식으로 작성합니다!
https://mangkyu.tistory.com/144
여기에 자세히 나와있으니 한번 보시면 좋을 것 같아요!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.