Refers to Aspect-oriented Programming. According to Wikipedia, in computing, aspect-oriented programming (AOP) is a programming paradigm that aims to increase modularity by allowing the separation of cross-cutting concerns.
I am wondering about the following scenario - it's in the land of Spring/AOP and Ehcache.
Happens in REST Web Application - REST/Service/DAO layers - I have objects in cache (@Repository + @Cacheable)....
In Spring AOP, I can add an aspect at the following locations
before a method executes (using MethodBeforeAdvice)
after a method executes (using AfterReturningAdvice)
around a method (both before and ...