Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  Below are detailed some issues we got when porting the Apache Tuscany SCA Java version to the Android platform. The progress of some blocking issues can be tracked here.

Android Reflection API

The Apache Tuscany SCA library relies a lot on the Java Reflection API. The Android API provides the Reflection API, otherwise on the latest Android SDK version (m5-rc15) it is not correctly implemented with some Reflection methods throwing exceptions. At Android developers list there are many topics about this problem and the Android developers tell that in next release it will be fixed. So far we are using the retrotranslator as a workaround for this problem until the next SDK version is released. Unfortunately the next SDK release date is uncertain.

...

There are some SCA modules that uses the Beans API, but the Android library does not implement this API. For now the source code that uses the Beans API is being commented. In future, we may also probably use the Apache Harmony Beans API to add the Beans support on Android SCA. But it would be a good approach when the Android Annotation support is fixed, otherwise we will still need to use the retrotranslator, because the Beans API uses a lot the Reflection API.

 javax.jws.WebService

There are some SCA modules that import javax.jws.WebService, which is not part of the supported packages in Android. The current approach is to comment out the code that relies on javax.jws.WebService. Also looking to find if it can be backported (similar to RMI).