2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.

HomeApache Tuscany Docs 2.x > Index > Development Guides > Converting Tuscany 1.x Applications
 Apache Tuscany Docs 2.x > Index > Development Guides > Converting Tuscany 1.x Applications Tuscany Home | User List | Dev List | Issue Tracker  
Table of Contents

under construction

Overview

There are not huge differences in the SCA that Tuscany 1.x implements (OSOA v1.0) and the SCA that Tuscany 2.x implements (OASIS v1.1). However there are detailed differences that you need to be aware of in SCA and in the Tuscany runtime in order to get your 1.x application to work in 2.x.

Converting composites and other SCA XML artifacts

Namespaces

The SCA and Tuscany namespaces may be used in the following files

  • *.composite
  • sca-contribution.xml
  • defintions.xml

Each occurrence needs changing for 2.x

Features

Features that are in 1.x but not in 2.x

  • Support for conversational interfaces
    -

Features that are in 2.x but not in 1.x

  • Asynchronous reference and service APIs

Building and launching contributions

Converting dependencies

You need to re-configure the project pom.xml

1.x Dependencies   2.x Dependencies
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
<version>1.6-SNAPSHOT</version>
</dependency>
===> <dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-assembly</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>

TODO - need to note what the final Tuscany feature grouping solution is for 2.x