공부의 일상

[Spring Boot] 패키지 구조 참고 사이트

leeds123 2024. 8. 24. 17:28

스프링부트 패키지 구조

 

여러 프로젝트에서 spring boot 개발 플랫폼을 사용해 진행해보았지만,

프로젝트 초기 매번 고민이 되는 부분이있었다.

 

바로 패키지 구조, 패키지명 등등

이 부분에 대해서 GitHub이나 블로그 등을 검색해 참고하였지만,

모든 프로젝트의 구조가 동일하지 않았다.

그래서 나는 어떤 프로젝트 구조가 적합한지 장단점 등을 파악하고 사용하고 싶었다.

 

최근 Spring Boot 관련 책을 읽다가 알게된 도움이 될만한 도메인을 공유하고자 한다.

 

1. https://dzone.com/articles/package-structure

 

Get Your Java Package Structures Right - DZone

 

dzone.com

2.http://www.javapractices.com/topic/TopicAction.do?Id=205

 

Java Practices->Package by feature, not layer

Package by feature, not layer The first question in building an application is "How do I divide it up into packages?". For typical business applications, there seems to be two ways of answering this question. Package By Feature Package-by-feature uses pack

www.javapractices.com