摘要
一个完整的软件项目系统分为核心业务关注点与系统级的方面关注点,利用AOP技术可以在Web系统中将项目中的业务逻辑与系统级逻辑进行分离,达到松耦合的目的。文章首先介绍AOP技术的概念与原理,然后结合一个系统实例介绍两种AOP技术分别在日志和事物管理中应用,并证明其可行性。
A complete software project system is divided into core business concerns and system level aspects of concern,Using AOP technology can separate the business logic and system level logic in the Web system ,To achieve the purpose of loose coupling. This paper firstly introduces the concept and principle of AOP technology, and then combined with a system example to introduce two kinds of A0P technology in the log management and transaction management of the application, and finally prove its feasibility.
出处
《电子设计工程》
2017年第16期42-45,共4页
Electronic Design Engineering