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.
기본 요구사항
File IO를 통한 데이터 영속화
다음의 조건을 만족하는 서비스 인터페이스의 구현체를 작성하세요.
클래스 패키지명:
com.sprint.mission.discodeit.service.file
클래스 네이밍 규칙:
File[인터페이스 이름]
JCF 대신 FileIO와 객체 직렬화를 활용해 메소드를 구현하세요.
[객체 직렬화/역직렬화 가이드](https://www.notion.so/13b6fd228e8d80c6b144cdfbf518a9f7?pvs=21)
Application
에서 서비스 구현체를File*Service
로 바꾸어 테스트해보세요.서비스 구현체 분석
JCF*Service
구현체와File*Service
구현체를 비교하여 공통점과 차이점을 발견해보세요.레포지토리 설계 및 구현
com.sprint.mission.discodeit.repository
[도메인 모델 이름]Repository
com.sprint.mission.discodeit.repository.jcf
JCF[인터페이스 이름]
JCF*Service
구현체의 "저장 로직"과 관련된 코드를 참고하여 구현하세요.com.sprint.mission.discodeit.repository.file
File[인터페이스 이름]
File*Service
구현체의 "저장 로직"과 관련된 코드를 참고하여 구현하세요.심화 요구 사항
관심사 분리를 통한 레이어 간 의존성 주입
com.sprint.mission.discodeit.service.basic
Basic[인터페이스 이름]
Basic*Service
구현체를 활용하여 테스트해보세요.코드 템플릿
JCF*Repository
구현체를 활용하여 테스트해보세요.File*Repository
구현체를 활용하여 테스트해보세요.JCF*Service
또는File*Service
)와 비교해 어떤 차이가 있는지 정리해보세요.