Treffer: GETTING STARTED WITH ASPECTJ.

Title:
GETTING STARTED WITH ASPECTJ.
Authors:
Kiczales, Gregor1 gregor@cs.ubc.ca, Hilsdale, Erik2 hilsdale@parc.xerox.com, Hugunin, Jim2 hugunin@parc.xerox.com, Kersten, Mik2 mkersten@parc.xerox.com, Palm, Jeffrey2 palm@parc.xerox.com, Griswold, William G.3 wgg@cs.ucsd.edu
Source:
Communications of the ACM. Oct2001, Vol. 44 Issue 10, p59-65. 7p.
Database:
Business Source Premier

Weitere Informationen

This article focuses on AspectJ, a general purpose aspect-oriented extension to Java programming language. Many software developers are attracted to the idea of aspect-oriented programming (AOP). They recognize the concept of crosscutting concerns and know they have had problems with the implementation of such concerns in the past. AspectJ addresses those problems. This article presents a series of examples which illustrate the kinds of aspects programmers can implement using AspectJ and the benefits of associated with doing so. The article presents a staged approach based on identifying two broad categories of aspects namely development aspects which facilitate tasks such as debugging, testing, and performance tuning of applications and production aspects which implement functionality intended to be included in shipping applications. These categories are informal, and this ordering is not the only way to adopt AspectJ. Using AspectJ results in clean modular implementations of crosscutting concerns such as tracing, contract enforcement, display updating, synchronization, consistency checking, protocol management and others.