You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2006/07/21 17:03:20 UTC

[Ws Wiki] Update of "Tuscany/TuscanyCpp/LanguageBindingsAndRuntimes" by AndrewBorley

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by AndrewBorley:
http://wiki.apache.org/ws/Tuscany/TuscanyCpp/LanguageBindingsAndRuntimes

New page:
= Adding Language Bindings to Tuscany SCA C++ =

Candidate languages to provide as language bindings:
 * PHP (see SCA for PHP project)
 * Ruby
 * Python

To add a language binding, components written in these langauges will need:
 * SCAGEN generated C++ wrapper to set up the language runtime & invoke the component. Will need:
  * An interface/header file that can be parsed
  * componentType definition (or support for annotated code)
  * A mapping of C++ types to language types & vice versa
 * Language extension to allow the finding & invocation of references. Will need:
  * The type mappings as above
  * SCAGEN generated proxy as language extension? (would make calling the referenced service look like a local language call)
 * Language extension to provide get/setting of component properties
 
= Providing Tuscany SCA C++ runtime as a language extension ('Embedded Tuscany')=

Candidate languages to extend with the runtime:
 * PHP (see SCA for PHP project)
 * Ruby
 * Python

A language extension to provide Tuscany SCA will need:
 * TuscanyRuntime language extension to:
  * start
  * setup
  * find services
  * invoke services 
  * stop
 * The type mappings as above
 * SCAGEN generated proxies as language extensions? (would make calling a service look like a local language call)

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org