Loading lesson…
Level 1 · Apprentice0 XP
How frameworks read your code, and what that costs.
Step 1 / 5
ProblemYou add @Transactional and @Cacheable and things work, until they don't. You do not know who reads these markers or when.
← → step
Before this: Testing Java with JUnit, AssertJ and Mockito
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Create an @Audited annotation and a small runner that finds annotated methods on a service with reflection and logs each call through a dynamic proxy.