摘要
基于Spring、Hibernate和Dubbo框架设计一个信息推送服务中间件以解决传统的消息推送中间件无法实现服务信息持久化、无法快速定位并检索特定的服务信息以及无法兼容消息发送与接收方异构通讯协议等问题。在中间件的架构设计中,Spring框架负责构建中间件的Web控制层,Spring和Hibernate共同作为中间件的数据处理层,Spring和Dubbo共同架构远程调用服务控制层。
Based on the framework of Spring,Hibernate and Dubbo,an message pushing service middleware is designed to solve the problems that traditional message pushing middleware cannot realize,such as service information persistence,locate and retrieve specific service information quickly,and compatible with the heterogeneous communication protocols between message sending and receiver.In the architecture design of middleware,Spring framework is responsible for building the Web control layer of middleware.Spring and Hibernate work together as the data processing layer of middleware.Spring and Dubbo architecture the remote invocation service control layer.
引文
[1]李华琰,郭英奎. Java中间件开发技术[M].中国水利水电出版社,2005.
[2]邹猛.基于消息中间件的消息系统在云护理平台的应用与实现[D].北京邮电大学,2017.3.
[3]王宏斌.消息中间件技术的研究和实践[D].浙江大学,2004.9-12.[4“]生产者/消费者”模式初探[S].程序员,2009,9,66-70.
[5]Sun Java System Message Queue 3.7 UR1技术概述[J/OL],Oracle Corporation and/or its Affiliates,2010.http://docs.oracle.com/cd/E19148-01/820-0533/aerap/index.html.
[6]OASIS Advanced Message Queuing Protocol(AMQP)TC,OASIS Advanced Message Queuing Protocol(AMQP)Version 1.0[R],OASISOpen,2012-10.