软件系统通常有许多横切整个系统的非功能需求,仅采用面向对象的方法不能很好的处理这些横切关注点。软件开发中使用面向方面MDA的方法,在设计阶段将系统的非功能需求从功能需求中分离出来,通过扩展UML建立面向方面PIM元模型和基于AspectJ的PSM元模型,横切关注点和核心业务逻辑就可以根据这些元模型分别建模,从而形成面向方面PIM和PSM,然后将系统PSM转换成系统代码。这种方法降低了软件开发的复杂性,提高了系统的可重用性、可维护性和横切关注点的模块化程度,最后给出了应用实例。
Software systems usually have some non-functional requirements which crosscut entire systems. Pure object-oriented methods do not address successfully those crosscutting concerns. A proposal to use Aspect-oriented MDA in the development of the software systems is presented, which uses concepts of the aspect-oriented paradigm to separate the handing of non-functional requirements from the functional ones in the design phases and offers meta-model of aspect-oriented PIM and PSM met, a-model of AspectJ using the UML extension mechanisms. Then crosscutting concerns and core business logic can be modeled separately according to these meta-models, and aspect-oriented PIM and PSM can be established. At last, system PSM can be converted to system code. The proposal reduces the complexity of the software systems development and improves reusability and maintainability of the systems, and modnlarization of crosscutting concerns. In the end, the use of Aspect-oriented MDA on a case study of banking system is presented.