Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#6699ff
bgColor#ffffff
titleBGColor#D5EFFF
titleApache Tuscany SCA Java Kernel Architecture Guide
borderStylesolid

This page is work in progress. Thanks for your contribution (smile)


 

Section

Anchor
Overview
Overview
Kernel Overview

...

  • Infrastructure for creating, wiring, deploying and managing service assemblies in single runtime or across runtimes (federated)
  • Infrastructure for leveraging qualities of service provided by host environments (transactions, security)
  • Support for different host environments: Standalone, Tomcat, J2EE, OSG OSGI (in progress, more can be added)
  • plug-points for supporting variety of bindings such as Axis2, RMI, more can be added
  • plug-points for adding component implementations such as Java Script, Spring, JRuby, Python (started), more can be added

...

Anchor
Kernel Wiring
Kernel Wiring Wiring
Wiring

To understand how wiring works, we need to detail how Components function in the system. Let's start with Atomic Components and then discuss Composite Components.

...

  • The load phase processes SCDL and creates an in-memory model
  • The build phase evaluates the model and produces corresponding runtime artifacts (e.g. components, services, references)
  • The connect phase wires references to services

Anchor
Java SCA Loaders
Java SCA Loaders

...

Loader

SCA service assemblies are deployed to the SCA domain in the format of SCDL files. Tuscany runtime uses loader to load the SCDLs into model objects which are a set of java beans to hold the metadata.

...

  • Introspect Java annotations
  • Uses a pluggable "annotation processing" framework to introspect Java classes

...

Anchor
Java SCA Builder
Java SCA Builder
Builder

Java SCA builder creates a runtime component from the configuration model

...