Services-Oriented Architecture (service Component Architecture,sca) is one of the most cutting-edge technology concepts in the industry at present. But for many developers, how to design and develop on the SCA architecture is relatively abstract. The introduction of WID (WebSphere Integration Developer) and WPS (WebSphere Process Server) make it easier for customers to shift to a component-oriented programming model. This article describes the basic concepts and methods for creating and invoking SCA component in the SCA programming model and describes how to use WID for component creation and invocation in different scenarios in a series of simple instances. SCA supports the use of a variety of technologies to implement components, and the Spring framework relies on injecting ideas into the nature of these technologies.
Introduction
Services-Oriented Architecture (service Component Architecture,sca) is one of the most cutting-edge technology concepts in the industry at present. But for many developers, how to design and develop on the SCA architecture is relatively abstract. The introduction of the WID (WebSphere Integration Developer) &wps (WebSphere Process Server) enables customers to more easily transform to a component-oriented programming model. This article describes the basic concepts and methods for creating and invoking SCA component in the SCA programming model and describes how to use WID for component creation and invocation in different scenarios in a series of simple instances. SCA supports the use of a variety of technologies to implement components, the spring framework by relying on the injection of ideas to become a natural member of these technologies, the example of this implementation of the spring framework based on SCA components, look forward to, and for readers to further understand the SCA lay the foundation.
The reader is positioned as a developer with WID development experience and has an understanding of SOA and sca,spring.
1. Introduction to SCA
SCA is a specification designed to build an SOA system, and the current version is 0.9. The core concept of SCA is service and its related implementation. A service is defined by an interface, and an interface contains a set of actions. A service implementation can refer to other services, called references. A service can have one or more properties, which are data values that can be configured externally. SCA allows developers to concentrate more on business logic. Component (component), in the bottom of the application implementation and service between the addition of a layer, figure 1SOA frame composition can visually find the location of the components. This eliminates the need to define each individual function as a service and optimizes the granularity of services.
Figure 1 SOA Frame composition