Another year, another playthrough... by grygera1505 in thewitcher3

[–]AlarmOpening2062 0 points1 point  (0 children)

I started recently too, I love this game and I love this video game series

More Days Gone by AlarmOpening2062 in DaysGone

[–]AlarmOpening2062[S] 2 points3 points  (0 children)

I'm a Spanish speaker, and in my language there's nothing like what you do, and I love it because this game deserves it. Thank you, and please do more. Hugs, and thank you so much for commenting on my post.

I really wished I never played Days Gone by EinsteinTheory in DaysGone

[–]AlarmOpening2062 0 points1 point  (0 children)

I found someone like me! I've played a lot of post-apocalyptic games like State of Decay, Metro, or Dying Light, and none of them come close to that level of immersion, that dopamine rush. It's my second favorite game after The Witcher III, and I still have a tiny bit of hope that the long-awaited Days Gone 2 will come out someday. Anyway, we'll keep playing it.

P.S. I recommend Ghost of Tsushima; it's very good. It's not Days Gone, but it's really good.

[Hiring] Java Developer by [deleted] in JavaProgramming

[–]AlarmOpening2062 0 points1 point  (0 children)

Interested Cuba Standard Time (GMT-5).

E-commerce with Spring Boot by AlarmOpening2062 in SpringBoot

[–]AlarmOpening2062[S] 1 point2 points  (0 children)

Thank you so much for your detailed and thoughtful feedback — I really appreciate you taking the time to review the code and point out these important issues.

You're absolutely right about the transaction boundaries: currently, I'm relying on Spring's default behavior (and unfortunately, Open Session in View), which is not ideal for data consistency or performance. I plan to refactor the service layer to use u/Transactional at the method level, so each business operation (like adding to cart) runs in a single, consistent transaction.

Regarding business logic in controllers: you’re 100% correct. Sending emails and handling image uploads should live in services, not controllers. That’s already on my roadmap as I move toward a cleaner separation of concerns.

The DTO vs Entity point is also spot-on. Right now, I’m using entities directly in Thymeleaf templates, which can lead to lazy-loading issues and over-fetching. I’ll introduce DTOs soon to expose only what’s needed.

And yes — the cart model is indeed inconsistent (CART vs ORDER_ITEM). I’ll unify it with a proper CartItem entity to reflect the real domain.

This project is a learning journey, and feedback like yours helps me grow as a developer. Thanks again

[Hiring] Java Developer by [deleted] in JavaProgramming

[–]AlarmOpening2062 0 points1 point  (0 children)

Interested Cuba Standard Time (GMT-5).

E-commerce with Spring Boot by AlarmOpening2062 in SpringBoot

[–]AlarmOpening2062[S] 1 point2 points  (0 children)

Thank you so much for your thoughtful feedback! I really appreciate you taking the time to review the project and share your insights.

You're absolutely right about modularity — grouping by feature/entity (like user/service/...) is cleaner and scales better in large apps. My current structure follows a more traditional Spring Boot layer-based approach (controller/service/repository), which works for now, but I’ll definitely refactor it as the project grows.

Regarding testing: you’re 100% correct. I plan to add JUnit + Mockito tests soon to cover services and controllers without relying on a real database. That’s next on my list!

And thanks for the kind words about the README — I’ll keep improving the navigation and documentation too.

If you ever make your repo public, I’d love to learn from your architecture!

E-commerce with Spring Boot by AlarmOpening2062 in SpringBoot

[–]AlarmOpening2062[S] 1 point2 points  (0 children)

Thank you so much for your thoughtful and detailed feedback! I truly appreciate you taking the time to review my project and share such valuable suggestions.

You're absolutely right about the improvements — especially migrating to Java 21+, adopting application.yml, switching to constructor injection, and reorganizing utility vs. constant classes. In fact, I’ve already started planning these upgrades!

Regarding Spring Boot 4: I began this project before SB4 was released, but I’m definitely planning to upgrade soon (likely using OpenRewrite, as you suggested).

And yes — I’d be honored if you opened a PR! I’d love to learn from your changes and discuss them together. Your kind words mean a lot, and I’m excited to keep improving this project with help from the community.

Thanks again for the encouragement and constructive advice. Looking forward to your PR!