Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

AOP Patterns

 
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are there any good references for AOP Patterns ?
Thanks.
regards
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What about Anti patterns?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...).
 
Author
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ramnivas.
A few patterns seem to be expected of any new stuff.

regards
reply
    Bookmark Topic Watch Topic
  • New Topic