摘要
为了提高基于Service大型软件的开发效率和运行稳定性,需要解决Web Service开发方法过程中的多粒度Service复用问题,为此提出了一种基于Service构件和组合模式的解决方法。该方法首先通过封装Service及其协调机制,以统一的方式描述不同粒度Service构件的操作和特征,组成大粒度Service构件,这种组合的大粒度Service构件可以与传统的Web Service一样对外发布。然后通过组合模式方法描述Service构件之间的关系,以支持不同粒度的Service构件的集成,从而改进Service构件的可复用性。最后将该方法应用于新闻采编业务项目实例,以说明利用面向模式的开发方法建立模式模型的过程。实践表明,基于该方法的Web应用系统可以比较容易地进行组装和发布,比传统的开发方法更为有效。
In order to improve the development efficiency of large-scale software based on service and the stability of the software,the reuse of multi-granular service in the development of Web services should be tackled as an important problem.This paper presented a model based on service components and composition patterns.In this method,at first,by packaging service and service coordination mechanism together,a uniform method was used to describe the operation and characteristics of service components of different sizes,so that large-grained service components can be composed.These combined large-grained service components could be published like traditional Web services.Then through a combination of models,the relationship between service components was described to support the integration of service components of different granularities,to improve the reusability of service components.Finally,the application of this method to e-newsroom projects was presented in several instances,to illustrate the use of pattern-oriented model as a development method to establish the process model.Practice shows that Web-based application of this method is relatively easier to assemble and distribute,and this method is more effective than the traditional one.
出处
《计算机应用》
CSCD
北大核心
2011年第A01期132-134,137,共4页
journal of Computer Applications
基金
山东省教育科学"十一五"规划项目(2008zk0035)
关键词
面向模式
服务
多粒度服务复用
构件
建模
pattern-oriented
service
multi-grain service reuse
component
modeling