Ziad Sharara·Jun 18@Component, @Service, @Repository — They’re Not the Same, and One of Them Is SpecialHonest reason I’m writing this: I got asked this in an interview. “What’s the difference between @Component, @Service, and @Repository?” I…
Ziad Sharara·Jun 9I Finally Understood Spring #3: AOP, Proxies, and the Magic Behind @TransactionalIf you’ve been following this series: In article #2, I wrote about the Spring lifecycle and mentioned that BeanPostProcessors can wrap your…
Ziad Sharara·Jun 7Hibernate Told Me There Was a Gap — Turns Out, I Was the GapThis one’s different. The other articles in this series come from studying books and courses. This one comes from work. I was debugging a…A response icon2A response icon2
Ziad Sharara·Jun 6Wait, SQL Doesn’t Run in the Order You Write It?Quick context: I recently took a break from studying Spring Boot to go back and refresh my SQL. Turns out I forgot more than I thought, so…A response icon1A response icon1
Ziad Sharara·Jun 1I Finally Understood Spring #2: The Complete Spring Bean Lifecycle.Before we start: Someone replied to my last post on X saying: “Nice work, your next write up should be about how IoC, DI and the bean…A response icon1A response icon1
Ziad Sharara·May 27I Finally Understood Spring #1: The Spring Context, IoC, and Dependency Injection Explained.A little context before we start: I’m currently working through Spring Start Here by Laurentiu Spilca, and Chapter 3 genuinely shifted how…A response icon1A response icon1