文档介绍:华中科技大学
硕士学位论文
基于AOP的银行综合前置机系统设计与实现
姓名:孟欣
申请学位级别:硕士
专业:软件工程
指导教师:覃中平
20090527
摘要
AOP(Aspect-Oriented Programming,面向方面编程技术)首次由 Gregor Kickzales
提出在 1996 年。如同结构化编程和面向对象编程提出的新程序方法和一系列用于使
得代码更易于阅读和重用的规则,AOP 是一种与编程模式相关的哲学。它的提出可
以解决一类问题的方法,并且用更优雅的方式。面向方面编程是面向对象编程的补
充,他提供了另一种方式来思考程序结构。在面向对象编程中主要的模块单元是类,
而在面向方面编程中模块单元是方面。这些方面使关注点模块化,例如事务管理它
是横切多个类型和对象的。
在银行的 IT 系统中,综合前置系统有着十分重要的作用,它具有中心枢纽的地位。
同时从系统功能要求上,需具备很好的可扩展性与灵活性。那么,设计良好的前置系统
架构,对于银行业务的延续性、平稳性有非常重要的意义。
本文针对该系统在架构设计上的需求,通过引入面向方面编程技术,在某企业
原系统基础上,提出了一种新的业务处理框架。描述了该框架的组成结构与设计方
式。采用此种方式,把贯穿于核心模块的非核心需求提取出来,形成一个单独的横
切模块,降低了系统模块间的耦合度,增强代码模块的重用性,使系统的可扩展,
可伸缩性提高。
此外,本文从该系统的需求分析入手,详细地讨论了银行综合前置系统各层次
模块的设计和实现。最后本文对该系统进行了性能测试,并根据结果,分析影响系
统性能的因素。
希望本文能在综合前置系统的架构选择、设计开发等方面,为各银行成功开发
综合前置系统提供有价值的参考。
关键字:综合前置机面向方面编程负载均衡
IV
Abstract
Aspect-Oriented Programming (AOP) has been first introduced by Gregor Kickzales
in 1996. Like structured programming and Object-Oriented programming introduced a
new approach for designing programs and a set of guidelines to make more readable and
reusable code, AOP is a philosophy that is related to style of programming. It addresses
issues that can be solved in other approaches, but in a more elegant way. AOP
complements OOP by providing another way of thinking about program structure. The
key unit of modularity in OOP is the class, whereas in AOP the unit of modularity is the
aspect. Aspects enable the modularization of concerns such as transaction management
that cut across multiple types and objects.
Banking integrated front system (BIFS) plays an important role of connecting up and
down position in all of mercial bank systems. The function of the system requires
higher flexibility and expansibility. A BIFS with good architecture is of great significance
to keep banking business continuity and stability.
In this paper, in the framework of the system design requirements, through the
introduction of aspect-oriented programming tec