Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tuscany Java SCA Architecture

Similar presentations


Presentation on theme: "Tuscany Java SCA Architecture"— Presentation transcript:

1 Tuscany Java SCA Architecture

2 The Tuscany Java SCA Runtime

3 Inside The Tuscany SCA Java Runtime

4 Tuscany Extensions Support SCA Assembly Extensions

5 Logical Tuscany Core Modules
Runtime Model Invocation Activation Assembly Model Policy Model Builders Contribution Extensibility

6 Tuscany Node Start Up 8. Start the runtime artefacts
7. Activate the assembly model to create runtime artefacts 6. Build the assembly model to determine all component types, connect references to services and connect promoted references and services. Assembly Model Contribution Builders Activation Extensibility Policy Model Invocation Runtime Model 4. Consolidate definitions.xml from contribution into policy model 5. Parse .composite file into assembly model 2. Consolidate definitions.xml from extensions into policy model 3. Load contribution and identify all contribution artefacts 1. Locate extensions via META-INF/services

7 Invocation - Runtime Wire Overview
Databinding Interceptor Binding Invoker Databinding Interceptor Implementation Invoker Source Component Operation 1 Binding Protocol Stack Binding Protocol Listener Operation 1 Target Component Operation 2 Operation 2 Operation 3 Operation 3 Component reference invocation chain Component Service invocation chain

8 Populating Wires Using Extension Providers
Composite File <component name="HelloWorldClientComponent"> <implementation.java class="helloworld.HWClientImpl"/> <reference name="helloWorldService"> <binding.ws url=" </reference> </component> <component name="HelloWorldServiceComponent"> <implementation.java class="helloworld.HWServiceImpl" /> <service name="HelloWorldService"> <binding.ws uri=" </service> </component> Assembly Model HelloWorld ClientComponent Component binding.ws binding.ws Reference Service Invoker Listener Runtime Axis2BindingProviderFactory createReferenceBindingProvider createServiceBindingProvider ReferenceBindingProvider start() stop() createInvoker ServiceBindingProvider start() stop()

9 Runtime Wire - End To End Web Service Binding Example
Component Component Reference Service Reference Policy Binding Policy Binding Policy Service Policy Implementation Policy Implementation Databinding binding.ws Axis2 binding.ws Databinding Implementation core Runtime Wire core Runtime Wire Impl args Implementation Implementation arguments Proxy JDKInvoationHandler ??? Data Transformation Intercepetor Tuscany Message ??? Binding Invoker Axis2 Axis2 Native messages Message Receiver Binding Provider/Listener Runtime Wire Invoker ??? Data Transformation Intercepetor Tuscany Message ??? Implementation Invoker Implementation

10 Component Interfaces <component> <component>
Reference Service <component> <reference> <interface> <binding> <component> <implementation <service> <interface> <binding> Source Interface Contract Binding Interface Contract Binding Interface Contract Target Interface Contract Component Type Reference Interface Binding Interface Binding Native Interface Axis2 Axis2 Binding Native Interface Binding Interface Service Interface Component Type Interface Databinding Databinding


Download ppt "Tuscany Java SCA Architecture"

Similar presentations


Ads by Google