基于AOP的Web服务容错技术研究 |
| |
引用本文: | 董翔宇.基于AOP的Web服务容错技术研究[J].数字通信世界,2016(1). |
| |
作者姓名: | 董翔宇 |
| |
作者单位: | 中国人民解放军海军工程大学,武汉,430033 |
| |
摘 要: | 为了提供更优质的Web服务,本文提出了基于AOP的Web服务容错模型,使用AOP作为实现服务过程与切面融合的手段,将容错关注点从功能性关注点中分离并织入到Web服务流程中,利用AOP技术将横切关注点与核心关注点统一架构的方法,保证核心模块的高度封装性。本文设计了一个演示系统,综合了地图、天气和查询订票服务,并根据服务的特性构建了主从容错、缓存容错、重试容错、日志容错四种不同容错方式。
|
关 键 词: | Web服务 AOP 容错 备份 缓存 重试 日志 |
Web Services Fault-tolerant Technology Research Based AOP |
| |
Abstract: | We put forward the model of Web Services fault-tolerance based on the AOP so as to provide better Web Services. It was used for the entire service implementation procedure and the fusion of sections,detaching fault-tolerant concerns from functional attention and woven into a Web service in the process. The high-level encapsulation of core module is ensured by the AOP,which construct the transverse concerns and core concerns. We designed a demonstration system,composed of the service of maps,weather and booking query. According to the characteristics of service,four ways of fault-tolerance are set up,including master-slave model,cache,retry model and logging. |
| |
Keywords: | Web Service AOP Fault-tolerance Backup Cache Retry Logging |
本文献已被 万方数据 等数据库收录! |
|