Design Articles
2 articles about Design. Explore Spring Boot implementation, design, and operations across related topics.
-
Spring Boot Package Structure Best Practices - Choosing Between Layered and Feature-Based Approaches
For beginner to intermediate developers struggling with Spring Boot package structure, this guide compares the structure, benefits, and limitations of layered and feature-based approaches. It explains step by step how to choose based on project scale, how to maintain dependency direction, how to automatically test dependency rules with ArchUnit, and the path toward Spring Modulith.
-
MyBatis vs JPA in Spring Boot: Selection Criteria and Combined Usage Patterns [With Comparison Table]
Not sure whether to choose MyBatis or JPA for your Spring Boot project? This article organizes a comparison table covering SQL control flexibility, learning cost, performance, and maintainability, along with a practical decision flowchart, the difference between #{} and ${}, and concrete configuration examples for using both together. Get all the decision criteria in one place.