摘要
JSR286规范定义了本地Portlet之间的协作方式,WSRP2.0规范定义了远程Portlet之间的协作方式,但两者并未深入涉及远程Portlet和本地Portlet之间的协作问题,降低了Portlet的交互能力。针对这点不足,在WSRP2.0规范定义的事件分发及状态分发等协作机制基础上,设计了一个消费者门户主导的联邦协作框架。在该框架中,通过协作信息转换和协作服务作为中介,通过消息队列进行消息存储、消息验证和消息处理,实现了Portlet容器和代理容器的松散耦合,并支持远程Portlet和远程Portlet之间、远程Portlet和本地Portlet之间、本地Portlet和本地Portlet之间的协作。该框架与JSR286规范和WSRP2.0规范兼容,满足WSRP2.0模块的可插拔性,并具有良好的可扩展性和可移植性。
JSR286 Specification defines the mechanism of coordination between local Portlets,and WSRP2.0 Specification defines the mechanism of coordination between remote Portlets,but they didn't go into the problem of coordination between remote Portlets and local Portlets,which reduces the Portlets' interactive ability.To overcome this defect,the paper proposes a federated coordination framework using consumer mediated coordination,which is based on coordination mechanisms of event distribution and state distribution defined in WSRP2.0 Specification.The framework uses information transformation and coordination service as mediation,uses message queue to store,verify and process messages.Thus the loose coupling between Portlet container and proxy container is achieved,the federated coordination between Portlets is realised,whether they are local or remote or both.Besides,this coordination framework is compatible with JSR286 and WSRP2.0 specifications,and meets the plug-in ability of WSRP2.0 modules,and has good scalability and portability.
出处
《计算机应用与软件》
CSCD
2011年第5期71-74,90,共5页
Computer Applications and Software
基金
国家高技术研究发展计划项目(2007AA010301
2009AA04Z153)
科技支撑课题(2009BAG18B00)
国家科技重大专项核高基项目(2009ZX01043-001-05)