SOA for service-oriented architectures

Source: Internet
Author: User
Tags sca

Introduction to SOA
The best way for SCA to implement SOA
Apache Open Source Framework Tuscany implementation of SCA architecture

A simple description of SOA:

SOA (service-oriented Architecture) service-oriented architecture. In order to be able to deeply understand also specialized check the word: oriented: Face, Architecture: architecture, no way English sucks! is actually a component model that links different functional lists of applications (called services) through well-defined interfaces. SOA is built on the basis of WEB services, he can be seen as B/S model, Xml/web service technology after the natural extension.

For the above content from the "Java Master Canon", after watching it will make people have the following questions?

    1. Why is SOA built on a Web service basis?
    2. God Horse is a Web service?
    3. Why is it that the B/S model, xml/web service technology extension?

SOA Official definition:

SOA is an architectural model, not a technology, but a style. He was distributed based on demand through loosely-coupled, coarse-grained application components of the network

, combination and use. The core of SOA is "service", which is essentially a combination of services to provide interfaces externally.

Just beginning to look at these nouns and explanations is really obscure! For a person with a bad language, too much TM torture!

In view of this: I give an example of SOA, for the same stupid encourage each other.

Look at the above two pictures is not a bit of emotion!

This is the building blocks we played when we were kids, for every building we can think of as a service in the SOA architecture, so-called service distributed applications, the combination is that we take those bricks according to certain rules to make our own desired model.

So the key is how do we spell the bricks? (question four).

The best way for SCA to implement SOA

The SCA (Service Component architecure) service component architecture is a specification that SCA emphasizes to separate the implementation of the service from the Assembly of the service.

Implementation of a build: to provide services or to use other services.

Component assembly: By connecting a service reference to a service?

Why would you choose to implement SOA with SCA? Simply put, sping implements the IOC model for standalone applications, SCA implements the IOC model for distributed applications, and because of the position and advantages of spring in Java EE, SCA is also conceivable.

Tuscany implementation of SCA architecture simple Demo

First Download: http://tuscany.apache.org/sca-java-2x-releases.html

All we have to do is run the HelloWorld inside the sample on this machine.

Open Eclipse New Dynamic Web project directory structure as follows:

Import the jar package via maven either by decompression path below Lib or by introducing the Pom file in the example directly into use:

Copy the file from the Helloword example to the corresponding directory and run it. As the saying goes, "give people to fish as well as to the fishermen." Through this toss I believe everyone can get started. In addition to provide a man's SCA plug-in, with it we open the x.composite is no longer a black!

http://dl.iteye.com/topics/download/22efadbd-edb4-3cce-a3ec-0173f912e12c.

For this chapter left the problem, still can not make a clear solution, to be followed by supplementary!

SOA for service-oriented architectures

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.