ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 1
Subject:   The diagrams are wrong?
Date:   2004-08-19 21:24:37
From:   russellmiles
Response to: The diagrams are wrong?

Hi Patrick,


hmmm, don't think you're necessarily wrong but I believe that conceptually (from an AOP view but not exactly how Spring implements things) the before() advice is executed before the call to the foo() method (this may and is indeed achieved using proxies in Spring, so you're spot on) but I was really aiming at getting the AOP principles across without getting too detailed on how Spring achieves this.


This is a practice that is getting to be more and more common in the AOP field, focussing on what the AOP directives are specifying and losing some of the focus on the particulars of how a specific implementation would achieve those directives. So I think you're right but I think the concepts the diagrams are putting across are still valid.


Hope that clears things up a bit and thanks for the comment :)


Cheers


1 to 2 of 2
  1. Injecting both Transactions & MethodAdvices
    2005-08-08 18:11:37  EtiKatta [View]

    • Injecting both Transactions & MethodAdvices
      2007-01-04 14:46:19  kcav8or [View]

      • Injecting both Transactions & MethodAdvices
        2007-01-04 15:19:46  kcav8or [View]

      • Injecting both Transactions & MethodAdvices
        2007-01-04 15:12:52  kcav8or [View]

  2. The diagrams are wrong?
    2004-08-20 08:48:13  patrickchaumette [View]

1 to 2 of 2