Interview: Adrian Colyer on Domain Specific Aspects
Watch Adrian Colyer on Domain Specific Aspects (11:24 min)
In the interview Adrian also discusses a phased approach for companies to start using aspects on their projects. At the first level you don't use Aspects in production but instead try it out in the development environment for design level assertions and testing. At the second level you use aspects for infrastructure type work, the "java.util" of the aspects world such as transactions, security, caching or polling. At the third level is using aspects for core business logic, such as business rules and policies.
Using domain aspects
by
Rickard Öberg
Re: Using domain aspects
by
Floyd Marinescu
When was the interview?
by
Twice Tshwenyane
Re: When was the interview?
by
Floyd Marinescu
Re: Using domain aspects
by
Rickard Öberg
So the interceptors are usually very specific in terms of methods that they apply to, but those methods/mixins can then be reused quite a lot in a number of different classes.
The way I think about aspects changed quite a bit when I started using mixins in our domain model extensively, since as in the above case it allows the interceptor aspects to be very specific to a particular mixin, but the mixins are usually highly reusable.
Educational Content
Java Garbage Collection Distilled
Martin Thompson Jun 17, 2013
C++11 The Future is Here
Bjarne Stroustrup Jun 16, 2013
The Big Data Revolution
Claudia Perlich Jun 16, 2013
Engines of Abstraction
Jim Duey Jun 13, 2013
Behavior-driven Development
Liz Keogh Jun 13, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think