On Wed, Sep 1, 2010 at 11:39 AM, Millies, Sebastian <[email protected]> wrote: > Hello there, > > is it possible (in Tuscany 1.6) to add classes to a node without having > to package them in a composite? Or add them to the domain so that they > will be available to all nodes in the domain? I. e. I want to say something > like node.addToClasspath(<pathToJar>) > > Alternatively, I could imagine building a composite with a component that does > not offer any service at all, but simply contains the classes, to be deployed > with > separate composites that add whatever service definitions and bindings are > relevant for a node. Would this be possible, i. e. could I completely separate > the component and service definitions in different *.composite files? >
Not sure if you are overloading the term "composite" above where it really means a contribution. Anyway, the following integration tests might be of some help. https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/branches/sca-java-1.6/itest/contribution-import-export/ The store tutorial also provides some deployment scenarios similar to what you have mentioned. https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/branches/sca-java-1.6/tutorials/store/ -- Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/
