• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AOP Patterns

 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any good references for AOP Patterns ?
Thanks.
regards
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about Anti patterns?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It took decades for the first (OO) pattern book to come out... Naturally, it won't take that long with AOP but patterns need to be discovered, not invented.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it should be possible to apply our already know pattern knowledge on AspectJ as well without much difficulty. Lasse ,do you agree? :roll:
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:
I think it should be possible to apply our already know pattern knowledge on AspectJ as well without much difficulty. Lasse ,do you agree? :roll:

To some degree, probably yes. However, I really can't say whether aspects need new structuring approaches compared to classes in OOP.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However, I really can't say whether aspects need new structuring approaches compared to classes in OOP.

Does it mean that AOP have overcome the limitations of OOP. I am talking about any limitation that have been addressed in AOP.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does it mean that AOP have overcome the limitations of OOP. I am talking about any limitation that have been addressed in AOP.

At least AOP has overcome OOP's limitation of not being able to modularize certain parts an application (trying hard to avoid repeating the phrase "cross-cutting concerns" over and over again...).
 
Ramnivas Laddad
Author
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed, it takes a considerable amount of time before patterns emerge. However, everything happens a bit faster these days :-) AspectJ in Action includes a chapter dedicated to 4 AOP design patterns (the worker object creation, the participant, the exception introduction, and the wormhole). The first three are my original contribution (and therefore I got opportunity to name those patterns!).
Besides these native AOP patterns, AspectJ/AOP can be used to modularize OOP patterns. See http://www.cs.ubc.ca/~jan/AODPs where there is a paper and source code for all 23 GoF pattern in regular Java and AspectJ.
-Ramnivas
[ September 19, 2003: Message edited by: Ramnivas Laddad ]
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ramnivas.
A few patterns seem to be expected of any new stuff.

regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic