An Aspectual State Model and its Realization Based on AOP
Jingjun Zhang, Yuejuan Chen, Guangyuan Liu, Hui Li · 2009
Aspect-oriented programming (AOP) is an emerging software engineering paradigm that improves separation of cross-cutting concerns as aspect in a program. Existing object-oriented programming (OOP) languages suffer from a serious limitation in modularizing adequately cross-cutting concerns. Many concerns cross cut several classes in an object-oriented system. At present, the AOP paradigm has expanded to all the lifecycle in the software development; as a result, aspect-oriented software development (AOSD) is becoming a new technique, which let developers identify the cross-cutting concerns in early stage of the lifecycle in order to reduce the complexity and indigestibility that arise from the cross-cutting concerns and improves flexibility, adaptability and reusability of the components used to compose the final software. We present, in this paper, a statecharts describes the aspectual state model (ASM) based on the unified modeling language (UML) to identify the cross-cutting concerns, and using a mature language AspectJ which is a seamless aspect oriented extension to the Java programming language to write aspect codes.