You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

Welcome to the Apache Tuscany SCA User guide. Here you will find information aimed to help you develop SCA components and applications using Tuscany's Java SCA implementation.

This is a work in progress, so please contribute and comment so we can make this valuable to you

Introduction">Introduction

Tuscany is based on Service Component Architecture (SCA). SCA is a simple model for creating service-oriented applications. SCA also provides a way to represent services in a variety of languages and a model for associating poicies with services.

Service Oriented Architecture (SOA) is an architectural approach driven by the need to overcome the challenges of tightly coupled and department-specific applications. SOA promises benefits such as improved business agility, improved flexibility, cost reduction, and the easy sharing of information in heterogeneous and distributed environments.

Service Component Architecture (SCA) addresses the complexity of developing an SOA solution through its simple model for creating service-oriented applications for the whole enterprise - from the client to the back-end.

Running the Calculator Sample">Running the Calculator Sample

  1.  Download the sample file.
  2.  Unzip it to a local folder such as C:\Temp
  3.  In Eclipse, select File -> Import --> General -> Existing Projects into Workspace
  4.  Click Next.
  5.  Select the Select root directory option and click the "Browse" button to point to C:\Temp.
  6.  Select CalcultorSample directory and click Finish. The project is created.
  7.  Expand the CalcultorSample. Expand "src/main/java/calculator", right-click CalculatorClient.java and select Run as ... --> Java Application. You will see the following output in the console view:3 + 2=5.0
    3 - 2=1.0
    3 * 2=6.0
    3 / 2=1.5

    Building your own Calculator Application">Building your own Calculator Application

Components">Components

Compents are the building blocks for creating SOA Applications. They contain the information that defines the program logic or implementation (component implementation), how the component interacts with other components (component type) and defines how it fits in with the other parts of the soluion (composition/assembly).

Service Component Descritpion Language (SCDL)">Service Component Descritpion Language (SCDL)

Unknown macro: {HTMLcomment}
  • No labels