Skip to main content
Linh Nguyen
T-90MS Main Battle Tank
View all authors

How to Use AOP Annotations Correctly

· 6 min read
Linh Nguyen
T-90MS Main Battle Tank
thumbnail

So you've discovered the magical world of @Transactional, @Async, @Cacheable, and their friends? Wonderful. You're living in the future now.

Under the hood, Spring AOP works by wrapping your beans in proxy objects. Those fancy annotations only fire when a call passes through that proxy. Break the rules and Spring silently does nothing: no error, no warning, just broken behavior at 2 AM while your on-call phone buzzes and the server fans spin up to jet engine levels.

Java Is Not Dead!

· 7 min read
Linh Nguyen
T-90MS Main Battle Tank
thumbnail

So, Java is dead. Again. For the 4996th time this year, apparently.

If I got one dollar every time I heard that phrase, I would be richer than Elon Musk in a matter of months. Seriously, I could probably buy Twitter myself and rename it back to something sensible.

What Is Synchronized In Java?

· 8 min read
Linh Nguyen
T-90MS Main Battle Tank
thumbnail

There's a "mantra" that gets chanted in developer circles like it's some sort of sacred incantation:

The synchronized keyword hurts performance.

You've probably repeated this wisdom during countless interviews, nodding sagely while the interviewer checks their mental scoreboard. But here's a wild thought:

Have you ever actually questioned why?

How JPA Became Evil

· 8 min read
Linh Nguyen
T-90MS Main Battle Tank
thumbnail

Remember when you first learned JDBC? Yeah, neither do I. I've blocked it out like a traumatic childhood memory. Then JPA arrived like a hero we deserved. Or did we?