Tuscany SCA Java SCA introduction (1)

Source: Internet
Author: User

SCA is a component-oriented architecture. (Components are components, which mean one)
1. First understand some basic concepts to help you learn SCA.
(1) component: a component is the basic unit for SCA to assemble and express business functions. It can provide services or reference other components.
(2) Implementation: The implementation of components should point out how the functions of the components are implemented, such as Java, C ++, and JavaScript.
(3) interface: an interface defines 1-n business functions, that is, multiple operations of a component, that is, methods.
(4) component combination: It can be simply understood as a combination of multiple components, which are also the basic unit of the SCA Domain. A composite component contains several components, services, references and connections between them, and attributes used in component configuration.
(5) attributes: some external data can be transmitted through attributes.
(6) Reference: the reference of the component combination improves the reference of the component. The reference of the component can reference other components and composite components.
(7) services: services are used to provide access to external programs by using certain protocols and access methods for components or component combinations.
(8) Link: The reference relationship between the quoter and the referenced person.
(9) binding: used to bind a component to a protocol for external release. You can bind one component to another, such as WebService.

2. Graphical description component (Component)

 

There are two properties (yellow), providing three external services (green), referencing three components or combination components (purple)

The implementation of components is Java and BPEL.

3. Graphical description component (Component)

Sample assembly diagram for a composite component

Component a references component B. This relationship is called a connection. The two are combined into a composite component. The Service Interface of component A is promoted to the service of component combination, and the reference of component B is promoted to the reference of component combination. component A has an attribute (yellow), and component B has two attributes, the attribute of component A is promoted to the attribute of the composite component.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.