面向服务组件将面向服务的概念引入组件模型中,支持松耦合的面向服务应用软件的开发.本文提出一种基于Spring框架的轻量级面向服务组件框架SSCF(Spring-based Service Component Framework),利用Spring的依赖注入和远程服务访问技术,简化面向服务组件的编程模型、增加编程自由度、提高组件运行效率.给出了SSCF框架中服务组件模型的逻辑结构模型、描述方法和连接通信机制以及框架实现的关键技术.该框架简化了面向服务组件的开发,与SCA(Service Component Architecture)实现框架Apache Tuscany相比,性能上具有一定的优势.
Service-oriented component introduces the concept of service-oriented into component model to support the development of loosely coupled service-oriented software.This paper presents a lightweight service components framework SSCF (Spring-based Service Component Framework) based on Spring Framework.The main idea is to utilize Spring's dependency injection and remote service access technology,to simplify the programming model of service components,increase its programming flexibility,and improve its runtime performance.The paper defines the logical model,description approach and connection mechanisms of service component,and gives key implementation technologies of the framework.The framework simplifies the development of highly configurable service components,and has a better performance than Apache's SCA (Service Component Architecture) framework Tuscany.