计算机工程 ›› 2010, Vol. 36 ›› Issue (1): 61-63.doi: 10.3969/j.issn.1000-3428.2010.01.022

• 软件技术与数据库 • 上一篇    下一篇

基于AOP和Web服务的多层分布式系统

孟凡新1,张京军2,刘光远1   

  1. (1. 河北工程大学信息与电气工程学院,邯郸 056038;2. 河北工程大学科研处,邯郸 056038)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-01-05 发布日期:2010-01-05

Multi-tier Distributed System Based on AOP and Web Services

MENG Fan-xin1, ZHANG Jing-jun2, LIU Guang-yuan1   

  1. (1. College of Info & Electric Engineering, Hebei University of Engineering, Handan 056038; 2. Scientific Research Office, Hebei University of Engineering, Handan 056038)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-01-05 Published:2010-01-05

摘要: 把面向方面编程的思想引入到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)

中图分类号: