r/SpringBoot • u/HappyPurchase72 • Sep 29 '24
Package structure
What do you think about this package structure? What packages or layers would you add or remove if you work with microservices architecture?
43
Upvotes
r/SpringBoot • u/HappyPurchase72 • Sep 29 '24
What do you think about this package structure? What packages or layers would you add or remove if you work with microservices architecture?
17
u/Holothuroid Sep 30 '24 edited Sep 30 '24
You seem to sort by some technical criteria. Having done so in the past, I now recommend sorting by feature. Everything Person goes into one package. Possibly some subpackages, if it's more than seven files.