leeyw0010136784's honest review, Real-world! Spring Boot and JPA Utilization 1 - Web Application Development course
Reviews 2
Average rating 5
Although I learned the principles of the persistence context and relationship mapping in the foundational course, I still wasn’t sure where to place which code in an actual project. In this course, we built a shopping mall example from scratch, which helped me see how the concepts from the foundational course are applied in real code. The most helpful part was learning what to keep in mind when designing entities. It was great that the course explained, along with the reasons, practical guidelines such as not exposing setters on entities and instead changing values through business methods, configuring all relationships for lazy loading, and initializing collections directly in the field. Looking back at the entities in my team project, I noticed that many setters had been opened out of habit, which showed me where refactoring was needed. I was also impressed by the section covering the difference between dirty checking and merging. Although I had learned about dirty checking in the foundational course, this was the first time I really understood the concept of detached entities and that using `merge` can overwrite fields with no values with `null`. Learning that entities should not be created in the controller, but instead retrieved in the service and then updated, gave me a clear guideline for designing update logic. In addition, implementing the domain model pattern—keeping business logic inside entities and having services merely delegate to them—gave me an opportunity to rethink the role of each layer. Through this course, I realized that knowing JPA and designing an application with JPA are two different things. Going forward, I want to apply what I learned to my team projects and write code with clear change points that is easy to maintain.
1
I’m really pleased to see you thoughtfully explore and absorb the key principles of practical development, such as entity design and change detection, based on the concepts from the fundamentals course, Yoon-woo! Haha. If you gradually apply the principles you’ve put together to your team project, you’ll be able to write excellent, maintainable code. I’ll always be cheering you on wholeheartedly as you continue your wonderful journey as a developer.
0

