I am doing research on a SOA topic and i am trying to understand what gang of four say about aspect orientation. I also need to implement one of these pattern in AOP paradigm.
What would be best pattern to pick for this?
I am doing research on a SOA topic and i am trying to understand what gang of four say about aspect orientation. I also need to implement one of these pattern in AOP paradigm.
What would be best pattern to pick for this?
What about Decorator?
This seem totally natural with AOP ! The signature stays the same, but some behavior is added... :-)
AOP concerns itself with orthogonal (cross cutting) concerns, an example of which is logging. Given this, the pattern that would help this cause the most would be the Observer pattern.
This online book chapter:
http://www.springerlink.com/content/v7436h45532h8643/
presents the aspect-oriented implementation of five well-known design patterns: Singleton, Observer, Command, Chain of Responsibility, and Proxy.
Intuitively, I would think that Inversion of Control (IoC) would play a part as well, since it decouples the implementation of a software function from its surrounding components.
If you can splurge on a book, the AspectJ Cookbook has chapters on how AOP can be used in the various GOF patterns.