摘要: 把面向方面编程的思想引入到Web服务中,将其横切关注点(日志、事务、权限认证等)实现为方面服务,在系统执行时用编织器在SOAP消息层编织Web服务和方面服务来构建最终系统,并结合面向服务软件体系结构和J2EE的多层架构提出一个基于方面服务和Web服务的软件架构。给出一个应用该软件架构的实例。
关键词:
Web服务,
横切关注点,
面向服务体系结构,
多层架构,
面向方面编程
Abstract: Aspect-Oriented Programming(AOP) is introduced to Web services, whose crosscutting concerns such as logging, transaction, authorization, etc. They are separated and realized individually as aspectual services. When the system runs, a weaver weaves them at SOAP message level to construct the final system. Combining Service-Oriented Architecture(SOA) and J2EE multi-tier architecture, a multi-tier system architecture based on aspectual services and Web services is proposed. And a case is designed according to the system architecture.
Key words:
Web services,
crosscutting concerns,
Service-Oriented Architecture(SOA),
multi-tier architecture,
Aspect-Oriented Programming (AOP)
中图分类号:
孟凡新;张京军;刘光远. 基于AOP和Web服务的多层分布式系统[J]. 计算机工程, 2010, 36(1): 61-63.
MENG Fan-xin; ZHANG Jing-jun; LIU Guang-yuan. Multi-tier Distributed System Based on AOP and Web Services[J]. Computer Engineering, 2010, 36(1): 61-63.