Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. aspectj

Tag: aspectj

s
spring3 June 22, 2011 6 min read by mkyong 11 comments

Spring AOP + AspectJ in XML configuration example

In this tutorial, we show you how to convert last Spring AOP + AspectJ annotation into XML based configuration. For those don’t like annotation or using JDK 1.4, you can use AspectJ in XML based instead. Review last customerBo interface again, with few methods, later you will learn how to intercept it via AspectJ in […]

Read more Spring AOP + AspectJ in XML configuration example
s
spring3 June 21, 2011 7 min read by mkyong 59 comments

Spring AOP + AspectJ annotation example

In this tutorial, we show you how to integrate AspectJ annotation with Spring AOP framework. In simple, Spring AOP + AspectJ allow you to intercept method easily. Common AspectJ annotations : @Before – Run before the method execution @After – Run after the method returned a result @AfterReturning – Run after the method returned a […]

Read more Spring AOP + AspectJ annotation example

Recent Posts

  • Java Compact Source File: No Class, No Static Main
  • Java Scoped Values Example
  • Spring Boot RAG Example with Spring AI
  • Java AtomicInteger Example
  • Java Virtual Threads Example
  • Spring Boot Supabase CRUD Example
  • Spring Boot REST Docs Example
  • How to Install Java on Windows (Step-by-Step Guide)

© 2008–2026 mkyong.com

  • About
  • Editorial Policy
  • Contact
  • Code License
  • Privacy Policy
  • Terms of Use