Tag: AOP
5 lessons about AOP · from 1 modules · learn them in order
01AOP in Principle: Cross-Cutting Concerns and ProxiesLogging, transactions and permission checks on every method — how does that repetition get extracted? From cross-cutting concerns to proxies, every AOP term explained with one diagram and one animation.Intermediate32′02Dynamic Proxies: JDK Proxy vs CGLIBWrite a JDK dynamic proxy by hand, dissect a CGLIB bytecode subclass, and settle performance, limitations and how Spring picks between them.Advanced42′03@AspectJ in Full: Pointcut Expressions and Five Advice TypesHow to write execution pointcuts, the order of five advice types, argument binding, and how multiple aspects queue up — every trap in aspect development, covered.Intermediate42′04Inside Spring AOP: The Auto-Proxy CreatorWhy does @Aspect just work? The answer hides in AnnotationAwareAspectJAutoProxyCreator — how it finds aspects, filters advisors, and picks a proxy factory, plus a complete self-check for dead aspects.Advanced48′05Four AOP Recipes: Logging, Permissions, Rate Limiting, CachingFour copy-ready aspects: annotation-driven audit logging, permission checks, a simple token-bucket limiter and caching — each with full code and the traps involved.Intermediate68′