The Artima Developer Community
Sponsored Link

News & Ideas Forum (Closed for new topic posts)
Setting the Story Straight: AOP != Interception

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Setting the Story Straight: AOP != Interception Posted: Jan 9, 2003 6:13 PM
Reply to this message Reply
Advertisement
Ted Neward on his personal weblog has published an article that claims that most people who talk about aspect-oriented programming (AOP) are really describing the Interception pattern, and explains his view of the difference between the two.

http://www.neward.net/ted/weblog/index.jsp?date=20030107

Here's an excerpt:

Recently, a number of authors and writers have been talking about AOP (Aspect-Oriented Programming), and how incredibly powerful and wonderful the whole thing is. And yet, for the vast majority of them, what they're really referring to is an old pattern called Interception. These people aren't stupid, nor are they misguided; while Interception is a powerful mechanism in its own right, it's not the same as AOP, and while they do share a number of defining characteristics, to understand AOP as Interception is like thinking OOP is data structs plus a bunch of function pointers. Just as we didn't understand objects until we got past the idea that objects are "just code and data", if we're to truly understand the potential power inherent in AOP, we need to get beyond this thinking that Interception and AOP are the same thing. They're obviously related at some points, but that's not the same thing as equality.

Have you used AOP? For what kind of application or situation did you find AOP useful? What do you think of Ted Neward's comments?

Topic: Sun, Oracle, Fujitsu to Push Web Services Reliability Spec Previous Topic   Next Topic Topic: JCP Growing Pains


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2017 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us