Component Oriented Software (Page 7)
<< Introduction & Message Forum
<< Page 6 (Component-Oriented Java)
Aspect-Oriented Java
Aspect-Orientated is often related to Component-Oriented programming. Aspect-Orientated software is the idea that code fragments need to be applied in a consistent manner across a large number of classes.
Some good examples of this are:
Pre and post method calls
Validation
Logging
Debugging
Monitoring
Firing Property Change Events
Languages like AspectJ allow Java developers to consistently modify their code by modularising crosscutting concerns. AspectJ applies declared aspects by modifying the bytecode.
Component-orientation and aspect-orientation are orthogonal. Aspect-oriented programming adds most value when there are standard components to be modified. For example, the ability to add pre and post actions and conditions to out of the box components is extremely useful functionality.
A useful addition to providing Component-Oriented features in the next phase of Java would be to add Aspect-Oriented features.
>> Page 8 (Conclusion)
<< Back to Programming
|