You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Fabio Albani <qu...@gmail.com> on 2010/07/07 21:06:50 UTC

How to add a new extension (SCA based on ASM)

Hi all,
I'm Fabio and I'm working for my degree thesis on developing a mapping from
SCA to ASM (using ASMetaL http://asmeta.sourceforge.net) and I would like to
add an extension to Tuscany for running ASM component which are based on a
service concept (which is the first aim of my work).
However I don't find very much documentation about extending Tuscany and I
would be happy if someone could send me more info about the steps necessary.
Obviously, if I reached my aim I would contribute my work to the Tuscany
community.

Thank you very much.

Fabio

Re: How to add a new extension (SCA based on ASM)

Posted by Simon Laws <si...@googlemail.com>.
On Wed, Jul 7, 2010 at 8:06 PM, Fabio Albani <qu...@gmail.com> wrote:
> Hi all,
> I'm Fabio and I'm working for my degree thesis on developing a mapping from
> SCA to ASM (using ASMetaL http://asmeta.sourceforge.net) and I would like to
> add an extension to Tuscany for running ASM component which are based on a
> service concept (which is the first aim of my work).
> However I don't find very much documentation about extending Tuscany and I
> would be happy if someone could send me more info about the steps necessary.
> Obviously, if I reached my aim I would contribute my work to the Tuscany
> community.
> Thank you very much.
> Fabio

Hi Fabio

There's not a whole lot of documentation but there are a couple of
examples in 1.x that could be adapted for 2.x. First take a look at
these slides [1]. Secondly there are samples in 1.x for building
binding [2] and implementation [3] extensions. Obviously you can look
at any of the existing extension types for ideas also. If you fancied
learning how to build extensions by submitting some patches to bring
the samples up in 2.x that would be excellent.

[1] http://tuscany.apache.org/documentation-2x/development-guides.data/Tuscany%202.x%20Extensibility%20and%20SPIs.ppt
[2] http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/samples/binding-echo-extension/
[3] http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/samples/implementation-pojo-extension/

Hope that helps

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com