摘要
该文首先介绍了当前服务粒度划分研究现状,并对几种主流服务粒度划分方法进行分析,指出了它们的不足之处,进而提出了一种基于业务、组件、类的混合模式两级抽象粒度划分方法——TAMM,该方法利用混合模式并结合java设计模式思想对服务粒度划分过程进行两级优化组合抽象,以适中的粗细粒度优化组合抽象服务,从而提高服务的稳定性、灵活性及性能。最后,结合实际案例对该划分方法的特性进行了分析说明。
The article firstly reviewed the previous research of service granularity, then analyzed the prevailing methods of its division and pointed out the drawbacks. What's more, the author further proposed the mingle pattern that is a division method of twice abstract granularity based on the business, component and class. This method made use of the mingle patterns combined with the conception of JAVA Design Patterns to optimize and abstract of the procedure of dividing the service granularity. With proper size of granularity to optimize and abstract of the service, this pattern may improve the stability, flexibility and function of the service. Finally, the author also illustrated the function of this pattern by employing some practical cases.
作者
蒋廷耀
康维
乐文静
JIANG Ting-yao, KANG Wei, YUE Wen-jing (China Three Gorges University, Yichang 443002, China)
出处
《电脑知识与技术》
2009年第12期9782-9784,共3页
Computer Knowledge and Technology
关键词
SOA
粒度划分
混合模式
抽象划分
设计模式
SOA
service granularity
mingle pattern
abstract division
designing patterns