Post
KO

자바 패키지

https://dzone.com/articles/project-package-organization

Project Package Organization - DZone Java

The package by layer is popular, but packaging by feature might be more worthwhile. But whether you use vertical or horizontal slicing, here are the tradeoffs.

패키지를 나누는 것은 Bounded Context를 분류하기 위한 기준으로 삼을 수 있고,

비슷한 역할과 책임을 하는 도메인 으로 묶을 수 있고,

같은 패키지 내에 서로 협력하는 객체들로 묶을 수 있다.

This article is licensed under CC BY 4.0 by the author.